Hey Folks,
in macos i am getting following build error:
./.build_env_vars.sh: line 430: declare: UID: readonly variable
...
ld: 2 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
note: Using new build system
note: Planning build
note: Constructing build description
** BUILD FAILED **
Unable to apply changes on device: EC5E510F-ED9A-44F6-A9D2-53A64BC4E4FA. Error is: Command xcodebuild failed with exit code 65.
After investigating with the community it comes out when i add the ios platform there the locked firebase pods are incompatible.
FirebaseInAppMessaging (0.17.0)
FirebaseInAppMessagingDisplay (0.15.5)
i manually changed FirebaseInAppMessaging (0.17.0) to 0.15.5 and it is working fine.
System Information:
nodejs: v12.14.1
npm: 6.13.4
nativescript: 6.3.3
macos: catalina
xcode: 11.3
the generated podfile.lock:
PODS:
- DKCarouselView (2.5.1)
- Firebase/Core (6.6.0):
- Firebase/CoreOnly
- FirebaseAnalytics (= 6.1.0)
- Firebase/CoreOnly (6.6.0):
- FirebaseCore (= 6.2.0)
- Firebase/InAppMessagingDisplay (6.6.0):
- Firebase/CoreOnly
- FirebaseInAppMessagingDisplay (~> 0.15.3)
- Firebase/Messaging (6.6.0):
- Firebase/CoreOnly
- FirebaseMessaging (~> 4.1.2)
- FirebaseAnalytics (6.1.0):
- FirebaseCore (~> 6.2)
- FirebaseInstanceID (~> 4.2)
- GoogleAppMeasurement (= 6.1.0)
- GoogleUtilities/AppDelegateSwizzler (~> 6.0)
- GoogleUtilities/MethodSwizzler (~> 6.0)
- GoogleUtilities/Network (~> 6.0)
- "GoogleUtilities/NSData+zlib (~> 6.0)"
- nanopb (~> 0.3)
- FirebaseAnalyticsInterop (1.5.0)
- FirebaseCore (6.2.0):
- FirebaseCoreDiagnostics (~> 1.0)
- FirebaseCoreDiagnosticsInterop (~> 1.0)
- GoogleUtilities/Environment (~> 6.2)
- GoogleUtilities/Logger (~> 6.2)
- FirebaseCoreDiagnostics (1.2.0):
- FirebaseCoreDiagnosticsInterop (~> 1.2)
- GoogleDataTransportCCTSupport (~> 1.3)
- GoogleUtilities/Environment (~> 6.5)
- GoogleUtilities/Logger (~> 6.5)
- nanopb (~> 0.3.901)
- FirebaseCoreDiagnosticsInterop (1.2.0)
- FirebaseInAppMessaging (0.17.0):
- FirebaseAnalyticsInterop (~> 1.3)
- FirebaseCore (~> 6.2)
- FirebaseInstanceID (~> 4.0)
- GoogleDataTransportCCTSupport (~> 1.0)
- FirebaseInAppMessagingDisplay (0.15.5):
- FirebaseCore (~> 6.2)
- FirebaseInAppMessaging (>= 0.15.0)
- FirebaseInstanceID (4.2.7):
- FirebaseCore (~> 6.0)
- GoogleUtilities/Environment (~> 6.0)
- GoogleUtilities/UserDefaults (~> 6.0)
- FirebaseMessaging (4.1.10):
- FirebaseAnalyticsInterop (~> 1.3)
- FirebaseCore (~> 6.2)
- FirebaseInstanceID (~> 4.1)
- GoogleUtilities/AppDelegateSwizzler (~> 6.2)
- GoogleUtilities/Environment (~> 6.2)
- GoogleUtilities/Reachability (~> 6.2)
- GoogleUtilities/UserDefaults (~> 6.2)
- Protobuf (>= 3.9.2, ~> 3.9)
- GoogleAppMeasurement (6.1.0):
- GoogleUtilities/AppDelegateSwizzler (~> 6.0)
- GoogleUtilities/MethodSwizzler (~> 6.0)
- GoogleUtilities/Network (~> 6.0)
- "GoogleUtilities/NSData+zlib (~> 6.0)"
- nanopb (~> 0.3)
- GoogleDataTransport (3.3.1)
- GoogleDataTransportCCTSupport (1.3.1):
- GoogleDataTransport (~> 3.3)
- nanopb (~> 0.3.901)
- GoogleUtilities/AppDelegateSwizzler (6.5.1):
- GoogleUtilities/Environment
- GoogleUtilities/Logger
- GoogleUtilities/Network
- GoogleUtilities/Environment (6.5.1)
- GoogleUtilities/Logger (6.5.1):
- GoogleUtilities/Environment
- GoogleUtilities/MethodSwizzler (6.5.1):
- GoogleUtilities/Logger
- GoogleUtilities/Network (6.5.1):
- GoogleUtilities/Logger
- "GoogleUtilities/NSData+zlib"
- GoogleUtilities/Reachability
- "GoogleUtilities/NSData+zlib (6.5.1)"
- GoogleUtilities/Reachability (6.5.1):
- GoogleUtilities/Logger
- GoogleUtilities/UserDefaults (6.5.1):
- GoogleUtilities/Logger
- MaterialComponents/AnimationTiming (94.5.0)
- MaterialComponents/Elevation (94.5.0):
- MaterialComponents/private/Color
- MaterialComponents/private/Math
- MaterialComponents/Ink (94.5.0):
- MaterialComponents/private/Color
- MaterialComponents/private/Math
- MaterialComponents/Palettes (94.5.0)
- MaterialComponents/private/Application (94.5.0)
- MaterialComponents/private/Color (94.5.0)
- MaterialComponents/private/Math (94.5.0)
- MaterialComponents/Ripple (94.5.0):
- MaterialComponents/AnimationTiming
- MaterialComponents/private/Color
- MaterialComponents/private/Math
- MaterialComponents/ShadowElevations (94.5.0)
- MaterialComponents/ShadowLayer (94.5.0):
- MaterialComponents/ShadowElevations
- MaterialComponents/Tabs (94.5.0):
- MaterialComponents/AnimationTiming
- MaterialComponents/Elevation
- MaterialComponents/Ink
- MaterialComponents/Palettes
- MaterialComponents/private/Math
- MaterialComponents/Ripple
- MaterialComponents/ShadowElevations
- MaterialComponents/ShadowLayer
- MaterialComponents/Typography
- MDFInternationalization
- MaterialComponents/Typography (94.5.0):
- MaterialComponents/private/Application
- MaterialComponents/private/Math
- MDFInternationalization (2.0.0)
- nanopb (0.3.9011):
- nanopb/decode (= 0.3.9011)
- nanopb/encode (= 0.3.9011)
- nanopb/decode (0.3.9011)
- nanopb/encode (0.3.9011)
- Protobuf (3.11.3)
DEPENDENCIES:
- DKCarouselView (from `https://github.com/manijak/DKCarouselView`, tag `2.4.15`)
- Firebase/Core (~> 6.6.0)
- Firebase/InAppMessagingDisplay
- Firebase/Messaging
- MaterialComponents/Tabs (~> 94.5)
SPEC REPOS:
trunk:
- Firebase
- FirebaseAnalytics
- FirebaseAnalyticsInterop
- FirebaseCore
- FirebaseCoreDiagnostics
- FirebaseCoreDiagnosticsInterop
- FirebaseInAppMessaging
- FirebaseInAppMessagingDisplay
- FirebaseInstanceID
- FirebaseMessaging
- GoogleAppMeasurement
- GoogleDataTransport
- GoogleDataTransportCCTSupport
- GoogleUtilities
- MaterialComponents
- MDFInternationalization
- nanopb
- Protobuf
EXTERNAL SOURCES:
DKCarouselView:
:git: https://github.com/manijak/DKCarouselView
:tag: 2.4.15
CHECKOUT OPTIONS:
DKCarouselView:
:git: https://github.com/manijak/DKCarouselView
:tag: 2.4.15
SPEC CHECKSUMS:
DKCarouselView: 6320654988612d8d625a2ebe470b28e14086660a
Firebase: a2b5951f30ff38fd3b3bdae9c7d340f940fd3c51
FirebaseAnalytics: 48414ae5cbf6976d8a2f7177e0466540e5ab33ce
FirebaseAnalyticsInterop: 3f86269c38ae41f47afeb43ebf32a001f58fcdae
FirebaseCore: 8c9e08bce0c72a3affd83927d8184cf244918bc8
FirebaseCoreDiagnostics: 5e78803ab276bc5b50340e3c539c06c3de35c649
FirebaseCoreDiagnosticsInterop: 296e2c5f5314500a850ad0b83e9e7c10b011a850
FirebaseInAppMessaging: 7fbdce4f57017abfc448f67571f2b1694a4f5b47
FirebaseInAppMessagingDisplay: 60a65c8277f17675a8a5b92e9a97cd914b45d4ff
FirebaseInstanceID: ebd2ea79ee38db0cb5f5167b17a0d387e1cc7b6e
FirebaseMessaging: 089b7a4991425783384acc8bcefcd78c0af913bd
GoogleAppMeasurement: 47285fa897e5a125df56b9ef8750a1d81e4598a8
GoogleDataTransport: 0048df6388dab1c254799f2a30365b1dffe20422
GoogleDataTransportCCTSupport: f880d70972efa2ed1be4e9173a0f4c5f3dc2d176
GoogleUtilities: 06eb53bb579efe7099152735900dd04bf09e7275
MaterialComponents: 36435454351719ef5c9bf1192a25fdcd2191c712
MDFInternationalization: 010097556d6b09d2c4ea38e0820ea6d37be6a314
nanopb: 18003b5e52dab79db540fe93fe9579f399bd1ccd
Protobuf: 0e94afe3b47cb11876eb6aee296638711a24bf75
PODFILE CHECKSUM: 4bdadd061d6c5ef923d3684dd67b5bc57d265b03
COCOAPODS: 1.8.4
Looking at the warning it seems like the CocoaPod version of Firebase should be updated to the latest version and InAppMessaging subspec should not be used anymore:
warning: The FirebaseInAppMessagingDisplay subspec is deprecated. Please remove FirebaseInAppMessagingDisplay from your Podfile (or delete the framework). [-W#warnings]
Hey guys, I bumped the iOS and Android Firebase SDKs today and smoketested a few apps. All seems good, so please update to 10.4.0 if you like.
@EddyVerbruggen seems to work thank you.
Most helpful comment
Hey guys, I bumped the iOS and Android Firebase SDKs today and smoketested a few apps. All seems good, so please update to 10.4.0 if you like.