kstenerud / iOS-Universal-Framework

An XCode project template to build universal frameworks (arm7, arm7s, and simulator) for iOS / iPhone.
2.95k stars 473 forks source link

Xcode 5.0 faild with "xcodebuild -configuration" #158

Closed ghost closed 10 years ago

ghost commented 10 years ago

UFW (M iphoneos): WARNING: No headers in build target ddd were marked public. Please move at least one header to "Public" in the "Copy Headers" build phase. UFW (M iphoneos): INFO: Cmd /Applications/Xcode 3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only armv7 -syslibroot /Applications/Xcode 3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -L/Users/njnyf/Library/Developer/Xcode/DerivedData/ddd-csdcrxfoqxijktewtkmdfgyjjtgj/Build/Products/Debug-iphoneos -filelist /Users/njnyf/Library/Developer/Xcode/DerivedData/ddd-csdcrxfoqxijktewtkmdfgyjjtgj/Build/Intermediates/ddd.build/Debug-iphoneos/ddd.build/Objects-normal/armv7/ddd.LinkFileList -o /Users/njnyf/Library/Developer/Xcode/DerivedData/ddd-csdcrxfoqxijktewtkmdfgyjjtgj/Build/Intermediates/ddd.build/Debug-iphoneos/ddd.build/Objects-normal/armv7/ddd.ufwbuild UFW (M iphoneos): INFO: Cmd /Applications/Xcode 3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only armv7s -syslibroot /Applications/Xcode 3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -L/Users/njnyf/Library/Developer/Xcode/DerivedData/ddd-csdcrxfoqxijktewtkmdfgyjjtgj/Build/Products/Debug-iphoneos -filelist /Users/njnyf/Library/Developer/Xcode/DerivedData/ddd-csdcrxfoqxijktewtkmdfgyjjtgj/Build/Intermediates/ddd.build/Debug-iphoneos/ddd.build/Objects-normal/armv7s/ddd.LinkFileList -o /Users/njnyf/Library/Developer/Xcode/DerivedData/ddd-csdcrxfoqxijktewtkmdfgyjjtgj/Build/Intermediates/ddd.build/Debug-iphoneos/ddd.build/Objects-normal/armv7s/ddd.ufwbuild UFW (M iphoneos): INFO: Cmd /Applications/Xcode 3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static /Users/njnyf/Library/Developer/Xcode/DerivedData/ddd-csdcrxfoqxijktewtkmdfgyjjtgj/Build/Intermediates/ddd.build/Debug-iphoneos/ddd.build/Objects-normal/armv7/ddd.ufwbuild /Users/njnyf/Library/Developer/Xcode/DerivedData/ddd-csdcrxfoqxijktewtkmdfgyjjtgj/Build/Intermediates/ddd.build/Debug-iphoneos/ddd.build/Objects-normal/armv7s/ddd.ufwbuild -o /Users/njnyf/Library/Developer/Xcode/DerivedData/ddd-csdcrxfoqxijktewtkmdfgyjjtgj/Build/Products/Debug-iphoneos/ddd.framework/Versions/A/ddd UFW (M iphoneos): WARNING: Build completed with warnings UFW (M iphoneos): INFO: Note: This is NOT a universal framework build. To build as a universal framework, do an archive build. UFW (M iphoneos): INFO: To do an archive build from command line, use "xcodebuild -configuration Release UFW_ACTION=archive clean build" Command /bin/sh failed with exit code 1

bigsprocket commented 10 years ago

I'm curious what you're reporting here? There are 2 things to note in that output: WARNING: No headers in build target ddd were marked public. ... if you're building a framework, it's likely you want some headers to be exposed. Note: This is NOT a universal framework build. To build as a universal framework, do an archive build. ... this is telling you that the script was run via a "build" action, not an "archive" action, so it only built the current active architecture (in this case, armv7s). If you want to build for all architectures, do an archive action instead.

The line about "xcodebuild -configuration" is informational only. If you want to build as archive from the command line, instead of from the menu, you can run that command from the shell.

ghost commented 10 years ago

thanks,I didn't read the output information carefully。