时间:2010-06-17 06:34:02

标签: iphone xcode finch

感谢zoul分享他的公开avaudioplayer替代品!!正是我需要的,

继承人我的问题..我不能建立一个没有得到的分发版本 一般gcc-4.2失败,错误代码为1,

我在finch演示项目中构建了我的代码,并认为它可能是 我做过的事。

所以我重新下载了demo ...重复发布,重命名发行版 同样的事情......

知道我遗失了什么?

谢谢!


在设备3.0发行版中构建了干净的雀色演示, 它适用于设备调试,所以我认为代码签名是可以的

- 这是错误代码:

ProcessPCH /var/folders/vB/vBGLPzEOHIaZaBe67EuRZU+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/Demo_Prefix-dhjhmgdrpwujnmakgukffcldlmim/Demo_Prefix.pch.gch Demo_Prefix.pch normal armv6 objective-c com.apple.compilers.gcc.4_2
cd /Users/giles73/Downloads/zoul-Finch-a97b909-1/Demo
setenv LANG en_US.US-ASCII
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -x objective-c-header -arch armv6 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -Os -mdynamic-no-pic -Wreturn-type -Wunused-variable -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.3.sdk -fvisibility=hidden -gdwarf-2 -mthumb -miphoneos-version-min=3.1.3 -iquote /Users/giles73/Downloads/zoul-Finch-a97b909-1/Demo/build/Demo.build/Release-iphoneos/Demo.build/Demo-generated-files.hmap -I/Users/giles73/Downloads/zoul-Finch-a97b909-1/Demo/build/Demo.build/Release-iphoneos/Demo.build/Demo-own-target-headers.hmap -I/Users/giles73/Downloads/zoul-Finch-a97b909-1/Demo/build/Demo.build/Release-iphoneos/Demo.build/Demo-all-target-headers.hmap -iquote /Users/giles73/Downloads/zoul-Finch-a97b909-1/Demo/build/Demo.build/Release-iphoneos/Demo.build/Demo-project-headers.hmap -F/Users/giles73/Downloads/zoul-Finch-a97b909-1/Demo/build/Release-iphoneos -I/Users/giles73/Downloads/zoul-Finch-a97b909-1/Demo/build/Release-iphoneos/include -I/Users/giles73/Downloads/zoul-Finch-a97b909-1/Demo/build/Demo.build/Release-iphoneos/Demo.build/DerivedSources/armv6 -I/Users/giles73/Downloads/zoul-Finch-a97b909-1/Demo/build/Demo.build/Release-iphoneos/Demo.build/DerivedSources -c /Users/giles73/Downloads/zoul-Finch-a97b909-1/Demo/Demo_Prefix.pch -o /var/folders/vB/vBGLPzEOHIaZaBe67EuRZU+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/Demo_Prefix-dhjhmgdrpwujnmakgukffcldlmim/Demo_Prefix.pch.gch

arm-apple-darwin10-gcc-4.2.1: /Users/giles73/Downloads/zoul-Finch-a97b909-1/Demo/Demo_Prefix.pch: No such file or directory
arm-apple-darwin10-gcc-4.2.1: warning: '-x objective-c-header' after last input file has no effect
arm-apple-darwin10-gcc-4.2.1: no input files
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

1 个答案:

答案 0 :(得分:0)

啊,我的错,这是一个错误。发布构建模式中的前缀标头设置错误。固定,谢谢。要修复项目:右键单击目标,选择“获取信息”,切换到“构建”选项卡,将“配置”设置为“所有配置”,搜索“前缀标题”并将其设置为prefix.pch