[TIMOB-23774] iOS10: Minor improvements for Xcode 8 support
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-08-15T13:11:57.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.5.0 |
Components | iOS, Tooling |
Labels | notable |
Reporter | Chee Kiat Ng |
Assignee | Chris Barber |
Created | 2016-08-15T05:00:51.000+0000 |
Updated | 2018-08-06T17:49:26.000+0000 |
Description
- Team id is now required in the tiapp.xml when building an app with a watch extension and Xcode 8.
- Added build configuration settings for swift files in watch apps
Namely set the "SWIFT_VERSION" to "2.2", if it's not already set... all new Watch extension projects will have this set to "3.0"
- Removed old watchos2 template in favor of existing watchos2-objc template.
- Set default min iOS SDK version to 8.0 if not explicitly set in the tiapp.xml and compiling using Xcode 8.
- Removed old maintainers from package.jsons.
Master PR: https://github.com/appcelerator/titanium_mobile/pull/8198 6_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/8200
5_5_X PR: https://github.com/appcelerator/titanium_mobile/pull/8228
[~cng] In regards to this change: - Team id is now required in the tiapp.xml when building an app with a watch extension and Xcode 8. Are there any plans to have team id generated in the tiapp.xml automatically? For instance when someone creates a Watch Extension in their project. When running through the basic steps to creating an Watch App project through the CLI, I am met with this error:
[~htbryant] The team id is generated by Apple from your account on developer.apple.com. Not sure that generating a team id would work. Maybe for simulator builds. Pretty easy to test. Just set the
<team-id>
to some string.Team ids are returned by
ti info
, so Studio could provide a pretty dropdown in the tiapp.xml editor. In a future Titanium SDK release, we will most likely introduce a\-\-team\-id
option instead of a\-\-pp\-uuid
to start handling provisioning profiles the new Xcode 8 way. On the plus side, at least when you get the error, it does attempt to display a list of team ids. Unfortunately, the list of team ids comes from an a sqlite xcode cache database combined with the team ids parsed from all provisioning profiles. In other words, if you have a team, but you've never logged into Apple from Xcode's preferences and you don't have any valid, non-expired provisioning profiles installed, then we will report no teams found.Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.