先看官网的图
可以看到官方说了xcode7可以让所有人都更轻松的将app运行在自己的设备上,而无需开发者帐号。
不过xcode7需要OSX10.11的支持,而目前(2015.06.10)下载后者的开发者预览版是需要开发者帐号的,我在网上找到了资源传到了百度云,OSX10.11:链接: http://pan.baidu.com/s/1kTuzvjL 密码: dbmk,xcode7:链接: http://pan.baidu.com/s/1gdjcpaj 密码: zm9a。官方说所有Yosemite机器都可以升级到El Captain,不过测试版总是有很多bug,这篇帖子列出了一些已知的bug:http://www.macx.cn/thread-2164208-1-1.html。用还是不用,自己权衡。
接下来就看看该怎么做,官方的说明在这个地址:传送门
步骤比较简单,我就简单总结一下。
1. 进入xcode,菜单栏选择xcode –> preferences (快捷键 command + ,)在Accounts选项卡添加自己的Apple ID
2. 在项目导航栏中选择要真机调试的项目,在工作区的targets选择要测试的项目(一般就是项目名称)
3. 选择General选项卡,展开Identity项,修改下面的team选项为你刚才添加的Apple ID
4. 把你需要真机调试的设备连上电脑
5. 在刚才team选项的下面此时多了一个警告,点击Fix Issue,等待xcode处理完,这个警告就消失了。
现在你可以在你的设备上真机调试了,无需开发者帐号
ps:如果你是用swift写的项目,你会发现更新了xcode7之后使用了swift2,语法又变了一些,以前的代码无法编译了,xcode7可以帮你自动更新到swift最新的语法,之后你可以看修改了哪些部分,并且可以自己微调最后再保存。
仰慕
加油
不好用啊,10.11下载下来安装的时候需要对应的密码。。。。
af
奇怪我的下面name iOS mac都是空的,灰色,咋整啊
is Not on Any Development Teams
赞
No provisioning profiles found: No non–expired provisioning profiles were found.
仰慕
…
The account ‘460876003@qq.com’ has no team with ID ‘K5TAEH6PHJ’
“The account ‘460876003@qq.com’ has no team with ID ‘K5TAEH6PHJ’”
同问 怎么解决
按照文中介绍成功…
点完Fix 后An App ID with Identifier ‘ruitong.xionghaizi’ is not available. Please enter a different string.出现这个怎么弄
但是带地图的 改了bundle id 地图就失效了。该怎么办呢
“The account ‘460876003@qq.com’ has no team with ID ‘K5TAEH6PHJ’类似问题的解决方法
右键单击你的工程文件(xxxxx.xcodeproj )选“显示包内容”
用记事本打开 project.pbxproj文件
搜索 ID ‘K5TAEH6PHJ’ 删除所有ID对应行
保存
enjoy it!!!
Call me 雷锋。
出错了!!
Ld /Users/zhangxin/Library/Developer/Xcode/DerivedData/Unity-iPhone-abrypwhbsadehpbwfuxdiucaajyd/Build/Products/Debug-iphoneos/homelayout.app/homelayout normal armv7
cd /Users/zhangxin/U3Dwork/FarmProject/HomeLayout
export IPHONEOS_DEPLOYMENT_TARGET=6.0
export PATH=”/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin”
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk -L/Users/zhangxin/Library/Developer/Xcode/DerivedData/Unity-iPhone-abrypwhbsadehpbwfuxdiucaajyd/Build/Products/Debug-iphoneos -L/Users/zhangxin/U3Dwork/FarmProject/HomeLayout -L/Users/zhangxin/U3Dwork/FarmProject/HomeLayout/Libraries -F/Users/zhangxin/Library/Developer/Xcode/DerivedData/Unity-iPhone-abrypwhbsadehpbwfuxdiucaajyd/Build/Products/Debug-iphoneos -filelist /Users/zhangxin/Library/Developer/Xcode/DerivedData/Unity-iPhone-abrypwhbsadehpbwfuxdiucaajyd/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/homelayout.LinkFileList -miphoneos-version-min=6.0 -dead_strip -fembed-bitcode-marker -weak_framework CoreMotion -weak-lSystem -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -framework Foundation -framework UIKit -framework OpenGLES -framework QuartzCore -framework OpenAL -liconv.2 -framework AudioToolbox -framework CFNetwork -framework MediaPlayer -framework CoreLocation -framework SystemConfiguration -weak_framework iAd -framework CoreMedia -framework CoreVideo -weak_framework AVFoundation -framework CoreGraphics -weak_framework CoreMotion -liPhone-lib -Xlinker -dependency_info -Xlinker /Users/zhangxin/Library/Developer/Xcode/DerivedData/Unity-iPhone-abrypwhbsadehpbwfuxdiucaajyd/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/homelayout_dependency_info.dat -o /Users/zhangxin/Library/Developer/Xcode/DerivedData/Unity-iPhone-abrypwhbsadehpbwfuxdiucaajyd/Build/Products/Debug-iphoneos/homelayout.app/homelayout
ld: ‘/Users/zhangxin/U3Dwork/FarmProject/HomeLayout/Libraries/libiPhone-lib.a(LibEntryPoint.o)’ does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
关于游戏打到一半妹子来了的问题,
正确的处理方法难道不是说:“等我打完这场战场/这个boss就陪你,你先拿我网银逛会儿淘宝吧?”。。。
fix最后出来个could not generate key pair for CSR,求大神帮忙解决[泪]