fix(SDK-743): run the example app on Xcode 27 - #902
Open
jferrao-itrbl wants to merge 2 commits into
Open
jferrao-itrbl wants to merge 2 commits into
jferrao-itrbl wants to merge 2 commits into
Conversation
Bump the RN CLI to 20.2.0 so run-ios opens Device Hub, and lift generated Pods targets to iOS 15.1 so IterableSDKResources compiles. The Iterable-iOS-SDK pin stays 6.6.7. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Coverage Impact This PR will not change total coverage. 🚦 See full report on Qlty Cloud »🛟 Help
|
Install and run via yarn example ios/android so Metro starts with the CLI; skip a separate yarn start from example/. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

📝 Summary
Make the SDK example launch and build on Xcode 27 via CLI 20.2.0 and a host Podfile lift of generated Pods targets.
🎟️ Jira Ticket: SDK-743
📖 Description
Xcode 27 replaces
Simulator.appwith Device Hub and rejects CocoaPods resource-bundle targets below iOS 15.0.Iterable-iOS-SDK-IterableSDKResourcesstill inherits 12.0 from Iterable-iOS-SDK 6.6.7.This PR:
@react-native-community/cli(and the example platform packages) from 20.1.0 to 20.2.0 soyarn example iosopens Device Hub.example/ios/Podfilepost_installto setIPHONEOS_DEPLOYMENT_TARGETto 15.1 when it is nil or < 15.1 (keeps the existingfmtC++17 workaround).xcode-select, the 15.0 compile floor, and that the Podfile lift is a host workaround until Iterable iOS publishes ≥ 15.1 and this SDK depends on it.example/README.mdso install and run happen from the SDK repo root (yarn install,yarn example ios/yarn example android). Metro starts with the CLI; a separateyarn startis not required.Out of scope: no change to
s.dependency "Iterable-iOS-SDK", "6.6.7", no public JS/native API, no demo app, no skills.Related: SDK-741 (Bare demo Podfile), SDK-742 (skills).
🧪 How to test?
From the SDK repo root:
package.json,example/package.json,yarn.lock).Iterable-iOS-SDKstays 6.6.7;Iterable-iOS-SDK-IterableSDKResourcesis 15.1 (no leftover 12.0).xcode-select -p):yarn example iosopens Device Hub, starts Metro, builds, and runs. NoSimulator.app does not exist; no resource-bundle 12.0xcodebuild65. No need to runyarn startfirst.yarn lint,yarn typecheck,yarn test;yarn example build:ios(already verified on Xcode 27.0 / 27A266a).yarn example android/build:androidshould not regress from the CLI bump.🧾 Changelog
No customer facing changes
📹 Loom recording if applicable
N/A
🐞 Github Issues solved
N/A
📚 Docs PR if applicable
In-repo README / example README only. No iterable-docs PR.