Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many warnings in Xcode15 #23

Open
s2mr opened this issue Sep 26, 2023 · 3 comments
Open

Many warnings in Xcode15 #23

s2mr opened this issue Sep 26, 2023 · 3 comments

Comments

@s2mr
Copy link

s2mr commented Sep 26, 2023

Thank you for providing this repository.
My team uses GoogleTagManager.

The way to install it is in Package.swift.
https://dl.google.com/firebase/ios/tagmanager/swiftpm/7.4.0/GoogleTagManager.zip and using binaries via Carthage.

We used to have no problem with that, but since switching to Xcode15, we are getting warnings at build time.
The specific warnings are as follows

Mixed ObjC ABI, /Users/me/Library/Developer/Xcode/DerivedData/MyProject-fmtasuxvuqiklbbmnyuervvwdwzl/Build/Products/Dev- iphonesimulator/GoogleTagManager.framework/GoogleTagManager[x86_64][3](GoogleTagManager-dummy.o) compiled with category class properties

We get about 30 of these warnings.

We have been able to temporarily address this with the following

  • Remove -ObjC from OTHER_LDFLAGS in Xcode build settings.
  • Since we are using CocoaPods, remove -ObjC from the xcconfig generated by Cocoapods as well.

Due to a problem with CocoaPods, it resets every time you run pod install.

I didn't have this problem until Xcode14, so if this can be addressed on the GTM side, it would be very helpful.

Best regards.

@twprzybysz
Copy link

@tsunghung any update on this? The new iOS SDK will be mandatory in April 2024.

@tsunghung
Copy link
Collaborator

@tsunghung
Copy link
Collaborator

Also, GoogleTagManager 7.4.4 has been released. Please try to use the latest binary instead, thanks.
https://dl.google.com/firebase/ios/tagmanager/swiftpm/7.4.4/GoogleTagManager.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants