Provisioning Profile and application Id do not match, why?

こ雲淡風輕ζ 提交于 2019-12-13 15:17:10

问题


When I run forge run ios , I get this:

[ ERROR] Provisioning profile and application ID do not match Provisioning profile ID: G85A58Y2F3.io.trigger.forge4afef416b8a111e1910212313d1 adcbe Application ID: G85A58Y2F3.co.uk.nearbyapp.* Please see "Preparing your apps for app stores" in our docs: http://current-docs.trigger.io/releasing.html#ios

My local config looks like this

{
    "general": {
    },"ios": {
        "device": "device",
        "profiles": {
            "DEFAULT": {
                "provisioning_profile": "nearby.mobileprovision",
                "developer_certificate_path": "nearby_certificate.pfx",
                "developer_certificate_password": "xxxxx"
            }
        }
    }
}

Any ideas of what could be wrong? I don't understand where the trigger provision id is coming from.

Edit: Ok , I changed the provisioning profile to be a wildcard one - I assume this is needed for running on the device? anyway, that resolved the error I was getting. Now, I get quite a bit further...

It seems to install on the device but I get this in the command window:

Launching - /private/var/mobile/Applications/ABBD210F-2683-46D0-BAF2-ED2AC25279A 4/device-ios.app Could not start com.apple.debugserver!

The app doesnt start automatically but it is installed on the device.


回答1:


To give a bit more information on the original question: Trigger automatically generate an app ID if one is not specified. You can then either use that app ID when creating provisioning profiles, etc., or you can override the app ID with an existing value.

I've updated our documentation to be more explicit here - it was a bit unclear before! http://docs.trigger.io/en/v1.3/modules/package_names.html

For your follow-on question, we've not quite handled running the app automatically on iOS from Windows: we're hoping to add that soon, in a future sprint.



来源:https://stackoverflow.com/questions/11073631/provisioning-profile-and-application-id-do-not-match-why

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!