Refresh devices in team provisioning profile managed by Xcode 7?

后端 未结 14 1998
谎友^
谎友^ 2020-11-30 22:13

It used to be that hitting the refresh arrow/loop button in preferences -> account would pull down a new provisioning profile with all ur new devices.

Now it just do

14条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-30 22:31

    I had a similiar problem and found the following - add a file called build.json in your root (same level as config.xml) with the following contents - replace the developmentTeam value with your Team Id as seen here https://developer.apple.com/account/#/membership/

    {
      "ios": {
        "debug": {
          "codeSignIdentity": "iPhone Developer",
          "developmentTeam": "DP7KW42777",
          "packageType": "development"
        },
        "release": {
          "codeSignIdentity": "iPhone Developer",
          "developmentTeam": "DP7KW42777",
          "packageType": "app-store"
        }
      }
    }
    

    I also found that by adding the following in config.xml under

    
    

    there was no need anymore to set various Info settings, for example hiding the status bar

    
      ${EXECUTABLE_NAME} requires bluetooth access to function properly
    
    
    ${EXECUTABLE_NAME} requires calendar access to function properly
    
    
    ${EXECUTABLE_NAME} requires camera access to function properly
    
    
    ${EXECUTABLE_NAME} requires contacts access to function properly
    
    
    ${EXECUTABLE_NAME} would like to check your location when app is active or in background
    
    
    ${EXECUTABLE_NAME} would like to check your location when app is active or in background
    
    
    ${EXECUTABLE_NAME} would like to check your location when app is active or in background
    
    
    ${EXECUTABLE_NAME} requires microphone access to function properly
    
    
    ${EXECUTABLE_NAME} requires motion detection access to function properly
    
    
    ${EXECUTABLE_NAME} requires photo library access to function properly
    
    
    ${EXECUTABLE_NAME} equires reminders access to function properly
    
    
    
    
    
    
    
    

    and finally, by adding

    
    

    to the icons list, I no longer needed to manually add the 1024 icon. So now all I do is build, archive and upload without having to change any settings. Hope this helps.

提交回复
热议问题