-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS build failed #3
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
iOS build failed with the message:
Compiling suirn-test-expo Pods/React-Codegen » FBReactNativeSpec-generated.mm
❌ (ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec.h:2216:46)
2214 | NSMutableDictionary *d = [NSMutableDictionary new];
2215 | auto window = i.window;
❌ (ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec.h:2218:46)
2216 | d[@"window"] = window.has_value() ? window.value().buildUnsafeRawValue() : nil;
2217 | auto screen = i.screen;
❌ (ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec.h:2220:88)
2218 | d[@"screen"] = screen.has_value() ? screen.value().buildUnsafeRawValue() : nil;
2219 | auto windowPhysicalPixels = i.windowPhysicalPixels;
❌ (ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec.h:2222:88)
2220 | d[@"windowPhysicalPixels"] = windowPhysicalPixels.has_value() ? windowPhysicalPixels.value().buildUnsafeRawValue() : nil;
2221 | auto screenPhysicalPixels = i.screenPhysicalPixels;
❌ (ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec.h:2233:96)
2231 | d[@"Dimensions"] = Dimensions.buildUnsafeRawValue();
2232 | auto isIPhoneX_deprecated = i.isIPhoneX_deprecated;
❌ (ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec.h:2472:68)
2470 | d[@"patch"] = @(patch);
2471 | auto prerelease = i.prerelease.get();
❌ (ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec.h:2598:110)
2596 | d[@"HEIGHT"] = @(HEIGHT);
2597 | auto DEFAULT_BACKGROUND_COLOR = i.DEFAULT_BACKGROUND_COLOR;
› Packaging expo-keep-awake Pods/ExpoKeepAwake » libExpoKeepAwake.a
› Executing expo-keep-awake Pods/ExpoKeepAwake » Copy generated compatibility header
› Executing expo-file-system Pods/EXFileSystem » [CP] Copy XCFrameworks
› Executing expo-splash-screen Pods/EXSplashScreen » [CP] Copy XCFrameworks
› Executing expo-constants Pods/EXConstants » [CP-User] Generate app.config for prebuilt Constants.manifest
Run script build phase 'Bundle React Native code and images' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'SwiftUIReactNative' from project 'SwiftUIReactNative')
Run script build phase 'Start Packager' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'SwiftUIReactNative' from project 'SwiftUIReactNative')
Run script build phase '[CP-User] Generate app.config for prebuilt Constants.manifest' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'EXConstants' from project 'Pods')
› 7 error(s), and 3 warning(s)
CommandError: Failed to build iOS project. "xcodebuild" exited with error code 65.
error Command failed with exit code 1.
I've researched this bug has been solved on react-native@0.70.10
Check conversation on:
#facebook/react-native#34106 (comment)
I've created a PR, merge it to help others
##2
Thanks for this awesome package.
The text was updated successfully, but these errors were encountered: