分类存档: ios

No matching provisioning profiles

这个错可能是证书或签名出问题了。

Required plug-in compatibility UUID not present in DVTPlugInCompatibilityUUIDs

上周五升级了xcode,结果打包时失败,提示错误:

2015-04-11 17:09:54.827 xcodebuild[49636:2989038] [MT] PluginLoading: Required plug-in compatibility UUID 9F75337B-21B4-4ADC-B558-F9CADF7073A7 for plug-in at path ‘~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin’ not present in DVTPlugInCompatibilityUUIDs

今天看了下,应该是因为升级导致插件的uuid对应不上。

以下脚本修复这个问题。

XCODEUUID=`defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID`
for f in ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/*; do defaults write "$f/Contents/Info" DVTPlugInCompatibilityUUIDs -array-add $XCODEUUID; done

参考:

http://stackoverflow.com/questions/20732327/xcode-5-required-plug-in-not-present-in-dvtplugincompatibilityuuids

ipa如何确认是否为64位

打出的ipa包,实际是使用的zip格式。
在mac os下可以使用unzip直接进行解压
unzip Unity-iPhone4444.ipa
会在当前目录下生成Payload目录,
进入Payload目录
使用命令lipo来查看,通过ipa中的可执行文件放在     xiyouxiangmopian.app/xiyouxiangmopian
输出 arm64表示已经是64位包
localhost:Payload sanx$ lipo -info xiyouxiangmopian.app/xiyouxiangmopian
Architectures in the fat file: xiyouxiangmopian.app/xiyouxiangmopian are: armv7 arm64
localhost:Payload sanx$

Warning: Use of undefined constant XML - assumed 'XML' (this will throw an Error in a future version of PHP) in /opt/wordpress/wp-content/plugins/wp-syntaxhighlighter/wp-syntaxhighlighter.php on line 1048