Skip to content
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

RSKImageCropper.framework contains unsupported architectures '[x86_64, i386]' #76

Closed
ghost opened this issue Sep 18, 2016 · 8 comments
Closed

Comments

@ghost
Copy link

ghost commented Sep 18, 2016

  • react-native-image-crop-picker 0.9.3
  • react-native v0.33

Getting the following when I try to upload the iOS app using Application Loader. No issues with Android.

Package(s) were not uploaded because they had problems:
    /var/folders/l0/mnr9xkh14bgfg2bxt_p36y6h0000gn/T/05ED8030-5775-425E-BA0E-A0D873EED816/1155871701.itmsp - Error Messages:
        ERROR ITMS-90087: "Unsupported Architectures. The executable for myApp.app/Frameworks/QBImagePicker.framework contains unsupported architectures '[x86_64, i386]'."
        ERROR ITMS-90087: "Unsupported Architectures. The executable for myApp.app/Frameworks/RSKImageCropper.framework contains unsupported architectures '[x86_64, i386]'."
        ERROR ITMS-90635: "Invalid Mach-O Format. The Mach-O in bundle "myApp.app/Frameworks/QBImagePicker.framework" isn’t consistent with the Mach-O in the main bundle. The main bundle Mach-O contains armv7(bitcode and machine code) and arm64(bitcode and machine code), while the nested bundle Mach-O contains X86_64ALL(machine code). Verify that all of the targets for a platform have a consistent value for the ENABLE_BITCODE build setting."
        ERROR ITMS-90635: "Invalid Mach-O Format. The Mach-O in bundle "myApp.app/Frameworks/RSKImageCropper.framework" isn’t consistent with the Mach-O in the main bundle. The main bundle Mach-O contains armv7(bitcode and machine code) and arm64(bitcode and machine code), while the nested bundle Mach-O contains X86_64ALL(machine code). Verify that all of the targets for a platform have a consistent value for the ENABLE_BITCODE build setting."
        ERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'myApp.app/Frameworks/QBImagePicker.framework/QBImagePicker' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version."
        ERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'myApp.app/Frameworks/RSKImageCropper.framework/RSKImageCropper' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version."
        ERROR ITMS-90125: "The binary is invalid. The encryption info in the LC_ENCRYPTION_INFO load command is either missing or invalid, or the binary is already encrypted. This binary does not seem to have been built with Apple's linker."

@ivpusic
Copy link
Owner

ivpusic commented Sep 18, 2016

duplicate of #61

@ivpusic ivpusic closed this as completed Sep 18, 2016
@ghost
Copy link
Author

ghost commented Sep 18, 2016

@ivpusic
Okay, I just tried what is suggested in #61 but now, I'm getting the following error
Invalid Bundle - One or more dynamic libraries that are referenced by your app are not present in the dylib

@ivpusic
Copy link
Owner

ivpusic commented Sep 18, 2016

my recommendation is to use cocoa pods to install dependencies. Check readme

@ghost
Copy link
Author

ghost commented Sep 18, 2016

@ivpusic The only library used is this one (react-native-image-crop-picker). I'm not sure if I understood the steps you mentioned in #61. What does the line in bold means? Add those back?

"go to project General tab, scroll down to Embedded binaries. You will see that there are two pre-built frameworks. You can remove them, build project for Device => this will produce Frameworks built for Device platform. Click + under Embedded binaries, and now you can add these two framework"

This is how mine looks before I archive. Is this correct?
screen shot 2016-09-18 at 11 46 42 am

@ivpusic
Copy link
Owner

ivpusic commented Sep 18, 2016

you have to add it to Embedded binaries section in order to work on real device

@ghost
Copy link
Author

ghost commented Sep 18, 2016

@ivpusic I think that's what I did earlier. I added them back, if I add them back I'm getting the same following error again while uploading using application loader.
RSKImageCropper.framework contains unsupported architectures '[x86_64, i386]

This is how it looks now. Is this correct?
screen shot 2016-09-18 at 1 47 51 pm

@ivpusic
Copy link
Owner

ivpusic commented Sep 18, 2016

@skvaghasiya
Copy link

skvaghasiya commented May 1, 2017

@ivpusic i have a got error.
please check this question - http://stackoverflow.com/questions/43680933/payumoney-sdk-framework-contains-unsupported-architectures-x86-64-i386
error

please help me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants