Repository navigation
Description
Summary
PlaytimeSDK.framework (5.0.0) is distributed with the same CFBundleIdentifier as PlaytimeMonetize.framework — both report io.adjoe.PlaytimeMonetize. Because both are embedded into the app as separate dynamic frameworks, the final .app bundle ends up with two framework bundles sharing one identifier, and App Store Connect / altool rejects the upload with:
ERROR: CFBundleIdentifier Collision. There is more than one bundle with the
CFBundleIdentifier value 'io.adjoe.PlaytimeMonetize' under the iOS application
'YourApp.app'. (90685)
This is a packaging defect in the published SDK, not an integration mistake — the consuming project embeds each framework exactly once.
Environment
react-native-adjoe-sdk: v5.0.0 (https://github.com/adjoeio/adjoe-react-native-sdk#v5.0.0)PlaytimeSDK: 5.0.0PlaytimeMonetize: 4.5.4 (pulled transitively viaPlaytimeSDK→PlaytimeMonetize (~> 4.5.2))- React Native with the New Architecture, CocoaPods using
use_frameworks! :linkage => :static - Xcode 26, uploading via
xcrun altool --upload-app
The previous SDK version uploaded fine; this collision was introduced by the 5.0.0 update.
Root cause / evidence
Inspecting the Info.plist of each vendored framework inside the two xcframeworks:
# PlaytimeSDK.xcframework/ios-arm64/PlaytimeSDK.framework/Info.plist
CFBundleIdentifier = io.adjoe.PlaytimeMonetize ← WRONG (should be e.g. io.adjoe.PlaytimeSDK)
CFBundleName = PlaytimeSDK
CFBundleShortVersionString = 5.0.0
# PlaytimeMonetize.xcframework/ios-arm64/PlaytimeMonetize.framework/Info.plist
CFBundleIdentifier = io.adjoe.PlaytimeMonetize ← correct
CFBundleName = PlaytimeMonetize
CFBundleShortVersionString = 4.5.4
Both device and simulator slices of PlaytimeSDK.framework are affected. Both frameworks are listed (correctly, once each) in CocoaPods' [CP] Embed Pods Frameworks phase, so they both land in YourApp.app/Frameworks/ — producing two bundles with the identical CFBundleIdentifier.
Quick way to confirm against the published artifact:
/usr/libexec/PlistBuddy -c "Print :CFBundleIdentifier" \
Pods/PlaytimeSDK/PlaytimeSDK.xcframework/ios-arm64/PlaytimeSDK.framework/Info.plist
# -> io.adjoe.PlaytimeMonetize (expected: a distinct id for PlaytimeSDK)Steps to reproduce
- Integrate
react-native-adjoe-sdk@5.0.0(which pullsPlaytimeSDK 5.0.0+PlaytimeMonetize 4.5.4). pod install, then Archive the app.- Upload the IPA with
xcrun altool --upload-app(or Application Loader / Transporter). - Upload fails with error 90685,
CFBundleIdentifier Collision ... 'io.adjoe.PlaytimeMonetize'.
Expected behavior
PlaytimeSDK.framework should ship with its own unique CFBundleIdentifier (e.g. io.adjoe.PlaytimeSDK), distinct from PlaytimeMonetize.framework, so the app can embed both frameworks and pass App Store validation.
Impact
Hard release blocker for anyone on PlaytimeSDK 5.0.0: the app builds and runs locally but cannot be uploaded to App Store Connect / TestFlight.
Current workaround
Rewriting the identifier of PlaytimeSDK.framework in a CocoaPods post_install hook (runs on every pod install, including CI):
post_install do |installer|
# Workaround for PlaytimeSDK 5.0.0 shipping PlaytimeSDK.framework with the same
# CFBundleIdentifier as PlaytimeMonetize.framework ('io.adjoe.PlaytimeMonetize'),
# which fails App Store upload with CFBundleIdentifier Collision (90685).
Dir.glob(File.join(installer.sandbox.root,
'PlaytimeSDK', 'PlaytimeSDK.xcframework', '*',
'PlaytimeSDK.framework', 'Info.plist')).each do |plist|
system('/usr/libexec/PlistBuddy', '-c',
'Set :CFBundleIdentifier io.adjoe.PlaytimeSDK', plist)
end
endThis makes the id unique and the upload succeeds, but it's a hack over a vendored binary and should be fixed in the SDK distribution. Thanks!
Activity