Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch for XCode 9 + Auto Swift Library Setting and Symbol Stripping for App Store #13

Open
gp2u opened this issue Jun 18, 2018 · 0 comments

Comments

@gp2u
Copy link

gp2u commented Jun 18, 2018

For this to work on XCode 9 a more up to date version of Starscream is required (default is 2.x and this can only be upgraded on XCode 8. This change to the Podfile fixes that error, as well as a couple of other must have post install hooks that get rid of the default Swift 3.3 error and remove debug symbols that cause errors uploading to App store

# Uncomment this line to define a global platform for your project
platform :ios, '9.0'
# Uncomment this line if you're using Swift
use_frameworks!

target 'SkylinkSample' do
pod "SKYLINK"
pod "UIAlertView-Blocks"
pod "Starscream"
end

post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings['SWIFT_VERSION'] = '4.1'
            config.build_settings['DEBUG_INFORMATION_FORMAT'] = 'dwarf'
        end
    end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant