Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ERROR ITMS-90171: "Invalid Bundle Structure The binary file APP.app/libswiftRemoteMirror.dylib is not permitted

Tags:

xcode

ios

I'm going to convert sift 2.2 to swfit 3.0 and uploading to itunes store then get one error.

I'm so tired with this error:-

ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'ideaPitch.app/libswiftRemoteMirror.dylib' is not permitted. Your app can’t contain standalone executables or libraries, other than the CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure."

I have try some solution like this question but did not get proper result.

Any one can hlep me out.

like image 871
Mitul Marsoniya Avatar asked Mar 27 '17 14:03

Mitul Marsoniya


1 Answers

The libswiftRemoteMirror.dylib is copied to the App Bundle, but the App Bundle must not contain a binary other than the apps binary.

To fix this:

  • In Xcode, remove "libswiftRemoteMirror.dylib" from everywhere in your project. Including "Copy Bundle Resources" and "Embedded Libraries".

  • Add it to the target's Link Binary with Libraries build phase.

  • Do not add it to the target's Copy Bundle Resources build phase.

  • Clean & build & archive

like image 178
shallowThought Avatar answered Sep 28 '22 00:09

shallowThought