phoboslab / JavaScriptCore-iOS

Apple's JavaScript Engine, with modified project files for iOS
695 stars 166 forks source link

[TVOS] Adds the -fembed-bitcode flag to build script. #32

Closed darionco closed 9 years ago

darionco commented 9 years ago

Adding this flag allows the resulting library to be used while archiving builds for tvOS.

phoboslab commented 9 years ago

Awesome, thanks!

phoboslab commented 9 years ago

To keep the filesize for the compiled lib below 100mb (so we can push it to github), I had to disable bitcode generation for the simulator build.

darionco commented 9 years ago

Yup, that makes sense since embedding bitcode is only useful when uploading builds to the app store, which cannot be done for simulator builds. Thanks!