Skip to content

PlaytimeSDK.framework (5.0.0) ships duplicate CFBundleIdentifier 'io.adjoe.PlaytimeMonetize' → App Store upload fails (CFBundleIdentifier Collision, 90685) #9

Open

Description

@brunohmagro

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.0
  • PlaytimeMonetize: 4.5.4 (pulled transitively via PlaytimeSDK → 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

  1. Integrate react-native-adjoe-sdk@5.0.0 (which pulls PlaytimeSDK 5.0.0 + PlaytimeMonetize 4.5.4).
  2. pod install, then Archive the app.
  3. Upload the IPA with xcrun altool --upload-app (or Application Loader / Transporter).
  4. 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
end

This 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions