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

Explicit iOS Support #14

Merged
merged 2 commits into from
Nov 16, 2017
Merged

Explicit iOS Support #14

merged 2 commits into from
Nov 16, 2017

Conversation

mattpolzin
Copy link
Contributor

When building against an iOS target, the default is to only support the most recent version of iOS, but there is no reason why FootlessParser cannot support previous versions of iOS.

This PR arbitrarily supports back to version 10.3 of iOS and sets the bundle version to a hardcoded value because otherwise building as a dependency through Carthage can result in an invalid bundle version when submitting to the iOS App Store.

…This is required for app store submission. Add additional iOS architectures to supported list.
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>400</string>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any significance to the number 400, or can it be any number?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No technical significance. I picked a number large enough to hopefully not be smaller than build numbers in use already, but I went for 400 because the current version is 0.40. Not a strong reason.

@kareman kareman merged commit 11d5c42 into kareman:master Nov 16, 2017
@kareman
Copy link
Owner

kareman commented Nov 16, 2017

Thank you, I hope it can be useful for others using this project in iOS apps too. I will tag a new release as soon as I get rid of those warnings in Xcode.

kareman added a commit that referenced this pull request Nov 17, 2017
Readme: add banjun/NorthLayout to examples, shorten podspec instructions

Explicit iOS Support (#14)  …
* Explicitly support iOS back to version 10.3 (arbitrary one version back rule)
* Set build number explicitly to ensure it is set for Carthage builds. This is required for app store submission. Add additional iOS architectures to supported list.

Remove uses of CharacterView. String is a collection again.  …
* Silences Xcode 9.1 warnings.
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

Successfully merging this pull request may close these issues.

2 participants