Khi cố gắng biên dịch dự án của tôi, tôi nhận được lỗi này và tự hỏi liệu có ai biết cách sửa lỗi không?. Không tìm thấy tệp ứng dụng trong Dữ liệu có nguồn gốc
Tôi đã đọc mọi câu trả lời trên SO và các nơi khác trên internet liên quan đến loại lỗi trình liên kết này. Tôi đã thử rất nhiều giải pháp, bao gồm rất phổ biến --Xóa dữ liệu có nguồn gốc trong xcode, bỏ xcode hoàn toàn, xóa nó một lần nữa trên dòng lệnh và sau đó khởi động lại xcode-- vẫn không có gì. Điều này bắt đầu sau khi tôi đã cố gắng để đính kèm một thiết bị vào máy tính của tôi (mà tôi đã bị xóa từ người tổ chức) đó là một người bạn để cố gắng chạy nó trên iPad của mình. Tôi đang ở trí thông minh của tôi kết thúc và không đủ khả năng để lãng phí thời gian nữa về điều này. Vài ý kiến về việc làm thế nào đê sửa nó?
Tệp ứng dụng trong thư mục Sản phẩm có màu đỏ.
EDIT: Thông tin thêm: Ứng dụng thực tế không được tạo và được đặt trong thư mục Library/Developer/{app}/Build/Product. Tôi đã thử kết nối lại thiết bị và thêm cấu hình cung cấp theo cách thủ công từ trang web của Apple, sau đó thử Xây dựng-> Lưu trữ ứng dụng trong khi thiết bị được chọn. Tôi vẫn nhận được lỗi. Tôi đã thử thay đổi từ gỡ lỗi để phát hành trong Đề án và làm tất cả điều đó, tôi vẫn nhận được lỗi. Tôi đã thử gỡ cài đặt xcode và cài đặt lại nó, xóa ứng dụng hoàn toàn khỏi máy tính (bao gồm cả dữ liệu có nguồn gốc) kéo xuống từ Git và tôi nhận được lỗi tương tự.
Ld /Users/mischabuckler/Library/Developer/Xcode/DerivedData/TRx-clxlusutxvcrlkddtqwtoxibcmhc/Build/Products/Debug-iphonesimulator/UnitTests.octest/UnitTests normal i386 cd /Users/mischabuckler/Desktop/Git/TRx setenv IPHONEOS_DEPLOYMENT_TARGET 6.1 setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.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 -arch i386 -bundle -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -L/Users/mischabuckler/Library/Developer/Xcode/DerivedData/TRx-clxlusutxvcrlkddtqwtoxibcmhc/Build/Products/Debug-iphonesimulator -F/Users/mischabuckler/Library/Developer/Xcode/DerivedData/TRx-clxlusutxvcrlkddtqwtoxibcmhc/Build/Products/Debug-iphonesimulator -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/Developer/Library/Frameworks -F/Applications/Xcode.app/Contents/Developer/Library/Frameworks -filelist /Users/mischabuckler/Library/Developer/Xcode/DerivedData/TRx-clxlusutxvcrlkddtqwtoxibcmhc/Build/Intermediates/TRx.build/Debug-iphonesimulator/UnitTests.build/Objects-normal/i386/UnitTests.LinkFileList -bundle_loader /Users/mischabuckler/Library/Developer/Xcode/DerivedData/TRx-clxlusutxvcrlkddtqwtoxibcmhc/Build/Products/Debug-iphonesimulator/TRx.app/TRx -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.1 -framework SenTestingKit -framework UIKit -framework Foundation -o /Users/mischabuckler/Library/Developer/Xcode/DerivedData/TRx-clxlusutxvcrlkddtqwtoxibcmhc/Build/Products/Debug-iphonesimulator/UnitTests.octest/UnitTests
ld: file not found: /Users/mischabuckler/Library/Developer/Xcode/DerivedData/TRx-clxlusutxvcrlkddtqwtoxibcmhc/Build/Products/Debug-iphonesimulator/TRx.app/TRx clang: error: linker command failed with exit code 1 (use -v to see invocation)
Không chắc gì câu hỏi của bạn là. Bạn đang cố làm gì vậy? –
xin lỗi tôi sẽ chỉnh sửa câu hỏi để rõ ràng hơn. – dwf
Bạn đang cố gắng xây dựng mục tiêu thử nghiệm hoặc mục tiêu ứng dụng? –