@@ -220,22 +220,20 @@ jobs:
220220
221221 - name : Build example for iOS
222222 run : |
223-
223+ xcodebuild -list -workspace ReactNativeSdkExample.xcworkspace
224+
225+ xcodebuild clean build \
226+ -workspace ReactNativeSdkExample.xcworkspace \ # Replace with your workspace name
227+ -scheme ReactNativeSdkExample \ # Replace with your app's scheme name
228+ -destination 'platform=iOS Simulator,name=iPhone 16 Pro' \ # Adjust simulator as needed
229+ -sdk iphonesimulator \
230+ CODE_SIGN_IDENTITY="" \
231+ CODE_SIGNING_REQUIRED=NO \
232+ CODE_SIGNING_ALLOWED=NO
224233 # yarn add @iterable/react-native-sdk
225234 # yarn turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}"
226235 # echo "${{ env.TURBO_CACHE_DIR }}"
227236
228- xcodebuild -list -workspace ReactNativeSdkExample.xcworkspace
229-
230- xcodebuild clean build \
231- -workspace ReactNativeSdkExample.xcworkspace \ # Replace with your workspace name
232- -scheme ReactNativeSdkExample \ # Replace with your app's scheme name
233- -destination 'platform=iOS Simulator,name=iPhone 16 Pro' \ # Adjust simulator as needed
234- -sdk iphonesimulator \
235- CODE_SIGN_IDENTITY="" \
236- CODE_SIGNING_REQUIRED=NO \
237- CODE_SIGNING_ALLOWED=NO
238-
239237 # Initializes the CodeQL tools for scanning.
240238 - name : Initialize CodeQL
241239 uses : github/codeql-action/init@v3
0 commit comments