Skip to content

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

@gp2u

Description

@gp2u

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions