Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23774] iOS10: Minor improvements for Xcode 8 support

GitHub Issuen/a
TypeStory
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2016-08-15T13:11:57.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.5.0
ComponentsiOS, Tooling
Labelsnotable
ReporterChee Kiat Ng
AssigneeChris Barber
Created2016-08-15T05:00:51.000+0000
Updated2018-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.

Comments

  1. Chee Kiat Ng 2016-08-15

    Master PR: https://github.com/appcelerator/titanium_mobile/pull/8198 6_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/8200
  2. Chris Barber 2016-08-15

    5_5_X PR: https://github.com/appcelerator/titanium_mobile/pull/8228
  3. Harry Bryant 2016-08-17

    [~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:
       [ERROR] Xcode 8.0 requires Watch Extensions have a team specified, but a <team-id> is not set.
       
       Log into the Apple Developer website and create a team, then add/refresh your account in Xcode's preferences window in order for Titanium to see your teams.
       
       <ti:app xmlns:ti="http://ti.appcelerator.org">
           <ios>
               <team-id>TEAM ID</team-id>
           </ios>
       </ti:app>
       
  4. Chris Barber 2016-08-18

    [~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.
  5. Chris Barber 2016-08-18

    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.
  6. Eric Merriman 2018-08-06

    Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.

JSON Source