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

Upgrade build scripts to set proper deployment version for 1.8. #760

Merged
merged 2 commits into from Nov 28, 2011
Merged

Upgrade build scripts to set proper deployment version for 1.8. #760

merged 2 commits into from Nov 28, 2011

Conversation

sptramer
Copy link
Contributor

The project was updated to build for minimum SDK 4.0, but the build scripts (which override this setting) were not updated.

@@ -1128,9 +1128,6 @@ def main(args):
# Meet the minimum requirements for ipad when necessary
if devicefamily == 'ipad' or devicefamily == 'universal':
device_target="TARGETED_DEVICE_FAMILY=2"
# iPad requires at a minimum 3.2 (not 3.1 default)
if devicefamily == 'ipad':
deploy_target = "IPHONEOS_DEPLOYMENT_TARGET=3.2"
# NOTE: this is very important to run on device -- i dunno why
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this comment need to stay around?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually a leadin to the following comment. ipad shouldn't require armv6, but there were complaints by the system when those symbols weren't included before. This actually requires research outside the scope of just changing the minimum versioning.

We should probably also be separating out the i386, armv6, and armv7 versions of libTiCore (and debugger) to avoid bloat in distributed apps where possible but this is a separate issue as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added ticket 6292 to track armv6 issues.

@srahim
Copy link
Contributor

srahim commented Nov 23, 2011

Functionally tested and APPROVED

Tested on iPhone 3GS running 3.1.2 and iPhone4 running 5.0.1 with normal iOS build...

WAITING FOR ERIC TO REVALIDATED IT

@eric34
Copy link
Contributor

eric34 commented Nov 23, 2011

Pull accepted:
Packaged with ad-hoc provision and attempted install on four devices. The two pre-4 devices (iPad 1 3.2.2, and the iPhone 3G 3.1.2) were unable to install from iTunes, giving the expected error: "The app 'MobileTestProject' was not installed on the iPhone 'myPhone' because it requires a newer version of iPhone software" (reflected iPad when using the iPad).

The other two devices installed as expected, and launched and functioned correctly. These devices were iPhone 4s (5.0.1) and iPod 3rd Gen (4.0.1).

@donthorp
Copy link
Contributor

Code reviewed. Accepted with comments and additional tickets.

donthorp added a commit that referenced this pull request Nov 28, 2011
[TIMOB-6317] Upgrade build scripts to set proper deployment version for 1.8.
@donthorp donthorp merged commit 5393579 into tidev:master Nov 28, 2011
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.

None yet

4 participants