V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
w99wen
V2EX  ›  iDev

成功生成了 xcarchive 文件。在生成 ipa 文件的时候出错。

  •  
  •   w99wen · 2016-05-24 16:25:12 +08:00 · 9791 次点击
    这是一个创建于 2866 天前的主题,其中的信息可能已经有所发展或是发生改变。

    成功生成了 xcarchive 文件。 在由 xcarchive 文件生成 ipa 文件的时候。一直报错:

    2016-05-24 16:01:13.177 xcodebuild[76265:10202216] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/tv/l6ghpt294r59fw5tvxpnh92h0000gn/T/Unity-iPhone_2016-05-24_16-01-13.176.xcdistributionlogs'.
    
    2016-05-24 16:01:13.223 xcodebuild[76265:10202216] [MT] DeveloperPortal: Using pre-existing current store at URL (file:///Users/osg/Library/Developer/Xcode/DeveloperPortal%207.3.1.db).
    
    2016-05-24 16:01:26.825 xcodebuild[76265:10202216] [MT] IDEDistribution: Step failed: <IDEDistributionThinningStep: 0x7ff3ace9d850>: Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found." UserInfo={NSLocalizedDescription=No applicable devices found.}
    
    error: exportArchive: No applicable devices found.
    
    Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found." UserInfo={NSLocalizedDescription=No applicable devices found.}
    
    ** EXPORT FAILED **
    
    

    请问有知道原因的亲吗?还请不吝赐教

    另外。使用的命令如下:

    xcodebuild -project ~/client_build/ios_new/Unity-iPhone.xcodeproj CODE_SIGN_IDENTITY="iPhone Distribution: ******" PROVISIONING_PROFILE="********-eb2f-****-ad7c-ba2904c9d395" -sdk iphoneos -scheme Unity-iPhone archive -archivePath ~/client_build/ios_new/aa.xcarchive -configuration Release -destination generic/platform=iOS
    
    xcodebuild -exportArchive -archivePath ~/client_build/ios_new/aa.xcarchive -exportOptionsPlist /Users/osg/workspace/build/iPhone/build/ottoman.plist -exportPath ./
    
    

    ottoman.plist 文件内容如下:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>method</key>
    <string>development</string>
    <key>teamID</key>
    <string>9CP426****</string>
    </dict>
    </plist>
    
    
    2 条回复    2016-05-25 12:22:27 +08:00
    Shane
        1
    Shane  
       2016-05-24 17:59:27 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2643 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 15:22 · PVG 23:22 · LAX 08:22 · JFK 11:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.