Swift で最新バージョンの iRate を使用して、App Store への提出用にプロジェクトをコンパイルしようとしています。
iRate のインストールはそれほど複雑ではありません。2 つ (オプションで 3 つ) のファイルをプロジェクトにドラッグし、そのiRate.h
ファイルをブリッジ ヘッダーに含めます。
ただし、コンパイルに行くとApple LLVM 6.0 Error
、ファイルのコンパイルについての質問が表示されiRate.m
ます。
確認したところ、ターゲット メンバーシップの下のプロジェクトiRate.m
に割り当てられています。
誰でも助けてもらえますか?
CompileC /Users/Dan/Library/Developer/Xcode/DerivedData/DA-hizhzqckxkpqjxafuimctebfhwho/Build/Intermediates/ArchiveIntermediates/DA/IntermediateBuildFilesPath/DA.build/Release-iphoneos/DA.build/Objects-normal/armv7/iRate.o DA/iRate.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd "/Users/Dan/Projects/learn/DA"
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch armv7 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/Dan/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -fprofile-instr-use=/Users/Dan/Projects/learn/DA/OptimizationProfiles/DA.profdata -miphoneos-version-min=8.1 -iquote /Users/Dan/Library/Developer/Xcode/DerivedData/DA-hizhzqckxkpqjxafuimctebfhwho/Build/Intermediates/ArchiveIntermediates/DA/IntermediateBuildFilesPath/DA.build/Release-iphoneos/DA.build/DA-generated-files.hmap -I/Users/Dan/Library/Developer/Xcode/DerivedData/DA-hizhzqckxkpqjxafuimctebfhwho/Build/Intermediates/ArchiveIntermediates/DA/IntermediateBuildFilesPath/DA.build/Release-iphoneos/DA.build/DA-own-target-headers.hmap -I/Users/Dan/Library/Developer/Xcode/DerivedData/DA-hizhzqckxkpqjxafuimctebfhwho/Build/Intermediates/ArchiveIntermediates/DA/IntermediateBuildFilesPath/DA.build/Release-iphoneos/DA.build/DA-all-non-framework-target-headers.hmap -ivfsoverlay /Users/Dan/Library/Developer/Xcode/DerivedData/DA-hizhzqckxkpqjxafuimctebfhwho/Build/Intermediates/ArchiveIntermediates/DA/IntermediateBuildFilesPath/DA.build/all-product-headers.yaml -iquote /Users/Dan/Library/Developer/Xcode/DerivedData/DA-hizhzqckxkpqjxafuimctebfhwho/Build/Intermediates/ArchiveIntermediates/DA/IntermediateBuildFilesPath/DA.build/Release-iphoneos/DA.build/DA-project-headers.hmap -I/Users/Dan/Library/Developer/Xcode/DerivedData/DA-hizhzqckxkpqjxafuimctebfhwho/Build/Intermediates/ArchiveIntermediates/DA/BuildProductsPath/Release-iphoneos/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/Dan/Library/Developer/Xcode/DerivedData/DA-hizhzqckxkpqjxafuimctebfhwho/Build/Intermediates/ArchiveIntermediates/DA/IntermediateBuildFilesPath/DA.build/Release-iphoneos/DA.build/DerivedSources/armv7 -I/Users/Dan/Library/Developer/Xcode/DerivedData/DA-hizhzqckxkpqjxafuimctebfhwho/Build/Intermediates/ArchiveIntermediates/DA/IntermediateBuildFilesPath/DA.build/Release-iphoneos/DA.build/DerivedSources -F/Users/Dan/Library/Developer/Xcode/DerivedData/DA-hizhzqckxkpqjxafuimctebfhwho/Build/Intermediates/ArchiveIntermediates/DA/BuildProductsPath/Release-iphoneos -MMD -MT dependencies -MF /Users/Dan/Library/Developer/Xcode/DerivedData/DA-hizhzqckxkpqjxafuimctebfhwho/Build/Intermediates/ArchiveIntermediates/DA/IntermediateBuildFilesPath/DA.build/Release-iphoneos/DA.build/Objects-normal/armv7/iRate.d --serialize-diagnostics /Users/Dan/Library/Developer/Xcode/DerivedData/DA-hizhzqckxkpqjxafuimctebfhwho/Build/Intermediates/ArchiveIntermediates/DA/IntermediateBuildFilesPath/DA.build/Release-iphoneos/DA.build/Objects-normal/armv7/iRate.dia -c /Users/Dan/Projects/learn/DA/DA/iRate.m -o /Users/Dan/Library/Developer/Xcode/DerivedData/DA-hizhzqckxkpqjxafuimctebfhwho/Build/Intermediates/ArchiveIntermediates/DA/IntermediateBuildFilesPath/DA.build/Release-iphoneos/DA.build/Objects-normal/armv7/iRate.o
error: Could not read profile: No such file or directory
1 error generated.