Foxit PDF SDK for iOS

How to fix the “Invalid Binary Architecture” error when publishing app to Apple App Store?

Foxit SDK Framwork includes arm64, armv7, i386, and x86_64 architectures, but the i386, and x86_64 architectures are not allowed to be uploaded to Apple App Store so that you will meet the “Invalid Binary Architecture” error if you use the framework directly.

To solve this problem, Foxit SDK provides a script named “” found in the “libs” folder to strip the arm architectures, and then output the library to the directory “./device/FoxitRDK.framework“. You should use this library in your project and then you can publish your app to Apple App Store.

Updated on August 29, 2018

Was this article helpful?
Thanks for your feedback. If you have a comment on how to improve the article, you can write it here: