Multitude of warnings after updating to XCode 8.3
35 issues appeared after updating to XCode 8.3, similar to the one below:
ld: warning: pointer not aligned at address 0x1002FA73F (_firanalytics_PropertyFilter_fields + 79 from /Users/myUser/Documents/workspace/BestShot/Motion.git/trunk/Motion-Apple/BestShot/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/FirebaseAnalytics(gmp_audience.pb_f393ced1a3b55a03cc2eea8de166e335.o))
This is a known issue that's from upstream Firebase; I'll let you know when they make any progress.
I'm hitting 32 of these warnings, it's kinda annoying. The issue came up during Xcode 8.3 Beta. You guys need quite a while for this to fix. 🤔
This has been fixed internally and should go out in the next release, around 4/6. You can all relax now. :)
any idea when this fix will be released today?
The launch has been moved back a few days; expect it at the start of next week. (oops)
Thank god this is being fixed... I thought something just started blowing up for no reason. Thanks for the thread
I'm still seeing same 32 build time warnings with Xcode 8.3.
Is it safe to ignore the warnings for an App Store release, or should I wait until an update is available?
Oh, boy. I have 39 warning with xCode 8.3.
@enzosterro I have 64 of them, because of multiple targets 😜 Btw. it's Xcode.
Any progress? I met this issue with firebase CocoaPods Today on Xcode 8.3.1 official release, I believe I am using the latest firebase.
When is "start of next week" again? I literally can't wait.
Hm, I don't have any new information for you folks other than to say the release is coming soon. Will post more stuff if anything comes up, but it looks like we've just been a little slow on some ship blockers.
Besides the fact that Firebase JS, NodeJS, Java and Python gets updated frequently, but Swift/ObjC takes ages. 🤔
Have version numbers regressed or is the current pod update incorrect? The Firebase pod seems to have changed today. I'm seeing the main Firebase pod reverting to 3.6.0 from 3.15.0, FirebaseRemoteConfig reverting to 1.3.0 from 1.3.4, and FirebaseAnalytics reverting to 3.4.2 from 3.7.0. Some of the old removed pods are now back as well (GoogleIphoneUtilities, etc.). I've cleaned my pod cache, etc. and have been checking for updates for this issue.
This is all with the recommended settings below for Analytics and RemoteConfig.
pod 'Google/Analytics'
pod 'Firebase/RemoteConfig'
Beware updating Firebase to v3.16.0. It is crashing my app unit tests. I had to revert to v3.15.0
@mthormann-dhi according to the firebase documentation you should use:
pod 'Firebase/Core'
pod 'Firebase/RemoteConfig'
It looks like they released a new update to Firebase v3.16.0 https://github.com/CocoaPods/Specs/commit/dddbd3e6897df269b4e97b2e6d8c1aae145fbed4
Not seeing the issue from yesterday with bad pod update specs out there but seeing the same crash with 3.16.0 as @esetnik trying to run unit tests with Firebase 3.16.0. More specifics on the error.
Error 2017-04-13 09:19:13.418 EFCSeeker[55062:5088991] *** Terminating app due to uncaught exception 'com.firebase.instanceid', reason: 'Could not configure Firebase InstanceID. Google Sender ID must not be nil or empty.'
*** First throw call stack:
(
0 CoreFoundation 0x0000000110aadb0b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00000001153c1141 objc_exception_throw + 48
2 CoreFoundation 0x0000000110b16625 +[NSException raise:format:] + 197
3 EFCSeekerTests 0x000000012aaff1be +[FIRInstanceID(FIRApp) exitApp:withReason:] + 188
4 EFCSeekerTests 0x000000012aafef90 -[FIRInstanceID(FIRApp) configureInstanceIDWithApp:] + 451
5 EFCSeekerTests 0x000000012aafed9e +[FIRInstanceID(FIRApp) didReceiveConfigureSDKNotification:] + 151
6 CoreFoundation 0x0000000110a4cc2c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
7 CoreFoundation 0x0000000110a4cb29 _CFXRegistrationPost + 425
8 CoreFoundation 0x0000000110a4c892 ___CFXNotificationPost_block_invoke + 50
9 CoreFoundation 0x0000000110a10162 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1826
10 CoreFoundation 0x0000000110a0f2c1 _CFXNotificationPost + 673
11 Foundation 0x0000000114e8fb24 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
12 EFCSeeker 0x000000010f71133a +[FIRApp sendNotificationsToSDKs:] + 381
13 EFCSeeker 0x000000010f7100bc +[FIRApp configureDefaultAppWithOptions:sendingNotifications:] + 341
14 EFCSeeker 0x000000010f70fdb4 +[FIRApp configure] + 306
FIRInstanceID expects a valid GCM Sender ID in the options of the FIRApp instance your app is using, which is normally grabbed from your GoogleService-Info.plist file. How are you setting up your unit tests?
If you don't want to mess with configuring your tests until later, you can just pin your FirebaseMessaging dependency at 1.2.2 and upgrade later.
Going to close this issue now as the discussion has derailed a bit and the ld warnings from Analytics are now gone.
ld warnings from Analytics are now gone.
Fresh project, fresh pod install and I get the 39 warning in Xcode 8.3. Should I be pointing to something specifically not yet released?
Have you run pod repo update lately?
If so, what version of Firebase does CocoaPods say you're using? What CocoaPods version are you using?
Have you tried cleaning in Xcode or deleting DerivedData?