iosxcodeflurryflurry-analytics

Unable to upload iOS update after adding Flurry Analytics? Error: Your app can’t contain standalone executables or libraries


In my Swift iOS application I've just added Flurry Analytics by creating a briding-header.h and importing Flurry.h. I then added SystemConfiguration.framework, CFNetwork.framework, and Security.framework.

I then added libFlurry_6.5.0.a via Targets -> Build Phases -> Link Binary with Libraries after instruction from a Stack Overflow question because it wouldn't build.

After archiving the app I tried to upload it and received this error:

ERROR ITMS-90171: “Invalid Bundle Structure - The binary file ‘APPNAME.app/Flurry/libFlurry_6.5.0.a’ is not permitted. Your app can’t contain standalone executables or libraries...


Solution

    1. Open the Build Phases tab in the target settings for your project.
    2. Make sure that Flurry.framework is not included under Copy Bundle Resources.

    From Invalid Bundle Structure.