TinyCrayon / TinyCrayon-iOS-SDK

A smart and easy-to-use image masking and cutout SDK for mobile apps.
https://www.tinycrayon.com
MIT License
1.83k stars 155 forks source link

can't upload in appstore after using it #8

Closed hardik27194 closed 7 years ago

hardik27194 commented 7 years ago

Anyone Can solving this issues..

ERROR ITMS-90087: "Unsupported Architectures. The executable for PosterMaker.app/Frameworks/TCMask.framework contains unsupported architectures '[x86_64, i386]'." ERROR ITMS-90087: "Unsupported Architectures. The executable for PosterMaker.app/Frameworks/TCMask.framework contains unsupported architectures '[x86_64, i386]’.”

ERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'PosterMaker.app/Frameworks/TCMask.framework/TCMask' 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 'PosterMaker.app/Frameworks/TCMask.framework/TCMask' 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." 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."

zengxinzhy commented 7 years ago

Hi @hardik27194

This is probably a Carthage issue. If you are using Carthage, could you add TCMask.framework to the "carthage copy-frameworks" input files?

screen shot 2017-06-17 at 4 18 33 am
hardik27194 commented 7 years ago

@zengxinzhy i solve this issues by adding Run-script using this reference link http://ikennd.ac/blog/2015/02/stripping-unwanted-architectures-from-dynamic-libraries-in-xcode/