Tôi chỉ cài đặt Xcode 8 mới trước phiên bản làm việc 7. Tôi đã thử tạo ứng dụng ObjC hiện có và được thưởng bằng lỗi liên kết liên tục:Xcode 8 Lỗi: Không thể phân tích cú pháp Bản đồ gỡ lỗi: Không có tệp hoặc thư mục nào
error: cannot parse the debug map for "/Users/--- Library/Developer/Xcode/DerivedData/Sunset3- dejxrzrmfgomxxcrzloplmsozads/Build/Products/Debug- iphonesimulator/Sunset3.app/Sunset3": No such file or directory
tìm kiếm xung quanh, các bản sửa lỗi trước đó đã không làm việc ở đây:
1) Reboot after install 2) Xcode Clean Project 3) Turn off bitcode build options 4) for good measure, I tried targeting into 9.0, 9.3, 10.0 - no difference in outcome 5) Also tried three different simulator targets
đánh giá sâu hơn về các bản ghi cho thấy một đối tượng dup mà đã không được đánh dấu bởi các IDE trước:
duplicate symbol _sharedPlaceDate in: /Users/irampil/Library/Developer/Xcode/DerivedData/Sunset3-dejxrzrmfgomxxcrzloplmsozads/Build/Intermediates/Sunset3.build/Debug-iphonesimulator/Sunset3.build/Objects-normal/x86_64/ViewController.o /Users/irampil/Library/Developer/Xcode/DerivedData/Sunset3-dejxrzrmfgomxxcrzloplmsozads/Build/Intermediates/Sunset3.build/Debug-iphonesimulator/Sunset3.build/Objects-normal/x86_64/GraphClass.o
ld: 1 duplicate symbol for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Dự án ObjC De novo được tạo trong biên dịch XCode8 và liên kết tốt. Bất kỳ suy nghĩ nào khác về cách sửa đối tượng trùng lặp?