Make Ad-hoc builds in Xcode 6 without signing in to developer account

后端 未结 8 1205
悲哀的现实
悲哀的现实 2021-01-30 14:20

Before Xcode 6, it was sufficient to provide only a *.p12 certificate and *.mobileprovision file to Xcode in order to export an *.ipa file for Ad Hoc builds.

Xcode 6 ope

相关标签:
8条回答
  • 2021-01-30 14:45

    Just select "Use local signing assets" in the accounts drop down.enter image description here

    0 讨论(0)
  • 2021-01-30 14:48

    Edit: A long time has passed since this answer. As for now I suggest using Fastlane for building the app from command line - with proper configuration it won't require signing with dev account.

    Original answer below:

    I don't know how to do it in xcode, however - I've managed to do it using command line tools:

    xcodebuild -configuration Release -scheme SCHEME_NAME -workspace Workspace.xcworkspace clean archive -archivePath build/App
    xcodebuild -configuration Release -exportArchive -exportFormat ipa -archivePath "build/App.xcarchive" -exportPath "build/App.ipa" -exportProvisioningProfile "PROVISIONING_PROFILE_NAME"
    
    0 讨论(0)
  • 2021-01-30 14:50

    We were having the same problem. I tried building the project and making the archive using Xcode 6 and after that I go to the Organizer window of XCode 5 and export the adhoc build from there. It works fine.

    0 讨论(0)
  • 2021-01-30 14:58

    In fact, you need to create a new Distribution profile, specific for Ad Hoc Deployment. This can be found in the classic member center, but it is a new type of certificate.

    You can then select which devices can be used to test the app as ou would do with a developer profile.

    Alternatively you can use the TestFlight solution provided by Apple with iOS 8 to enable your user to have access to prereleases.

    Screen capture of provisioning profile creation

    0 讨论(0)
  • 2021-01-30 14:59

    If you are using Testflight to upload adhoc builds, it's easier. Install the Testflight app for Mac and run it. Whenever you do an archive in Xcode, it auto shows a popup whether to upload it. You need not export the build from Xcode and avoid signing in to developer account.

    Alternatively, if you don't want to distribute on Testflight, you can right click (or option click) on the build in Xcode > Organizer and select "Show in Finder" and right click the archived file for "Show package contents" and get the .app. Put the .app inside a directory called Payload and zip up the the file to Payload.zip. Rename Payload.zip to myapp.ipa to distribute manually.

    0 讨论(0)
  • 2021-01-30 14:59

    In my case, i use Unity 5.0.1p1 with Vuforia 4.2.3.
    So, it have a QCARWrapper.bundle on "Build Phases > Copy Bundle Resources"

    I delete it, and export. Works!!!

    I do this only for EXPORT FOR AD HOC.

    Hope this help someone.

    0 讨论(0)
提交回复
热议问题