naoty / Timepiece

Intuitive date handling in Swift
MIT License
2.63k stars 147 forks source link

Invalid Bundle Structure - The binary file 'Timepiece.framework/libswiftRemoteMirror.dylib' is not permitted #63

Closed hdoria closed 8 years ago

hdoria commented 8 years ago

I'm using Timeline with Carthage. Now, when I try to upload my app to iTunes I get the following error:

Invalid Bundle Structure - The binary file 'MyApp.app/Frameworks/Timepiece.framework/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." ERROR ITMS-90206: "Invalid Bundle. The bundle at 'MyApp.app/Frameworks/Timepiece.framework' contains disallowed file 'Frameworks'."

tiagodocouto commented 8 years ago

same here...

reidmain commented 8 years ago

This appears to be caused by the "Aways Embed Swift Standard Libraries" being set in the project. embed frameworks

It doesn't make sense for a Framework target to embed the Swift standard libraries. It is the responsibility of the App target to do that and they ensure that all of the Frameworks they are building against are the correct Swift version. Heck even if developers don't check this the compiler yells at them saying that a Framework was generated with a different version of Swift than the app.

basememara commented 8 years ago

Serious issue, cannot submit app to the App Store. Please merge PR.

naoty commented 8 years ago

@basememara Thank you for sending the PR!

I'm sorry... I merged the PR and released 1.0.1 just now.

basememara commented 8 years ago

Np, thx for taking the time to consider and the great lib 💯