Vì vậy, hôm nay tôi đã gặp phải một vấn đề lớn. Tôi có một vấn đề liên quan đến viewController tôi trên xcode 4.3.2 như đã thấy trong thông báo lỗi này:
Undefined symbols for architecture i386: "_OBJC_CLASS_$_SecondViewController",
referenced from: objc-class-ref in Birdflix_ProViewController.o "_OBJC_CLASS_$_ThirdViewController",
referenced from: objc-class-ref in Birdflix_ProViewController.o "_OBJC_CLASS_$_FourthViewController",
referenced from: objc-class-ref in Birdflix_ProViewController.o "_OBJC_CLASS_$_Author",
referenced from: objc-class-ref in Birdflix_ProViewController.o
ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)
tôi nhận thấy rằng các lỗi này chỉ xuất hiện khi tôi chương trình IBActions nối viewController của tôi đến các lớp học thêm. Nếu tôi xóa các IBActions thì các lỗi sẽ biến mất. Bất kỳ trợ giúp được đánh giá cao.
điều khác là đảm bảo 'Mục tiêu' của bạn được chọn thay vì 'Xây dựng và thử nghiệm' trong khi sao chép/thêm bất kỳ tài nguyên nào –
@Mobihunterz, nhận xét của bạn đã giúp tôi. Cảm ơn. +1 – Sufian
Cảm ơn Ashan Marla, vì sự giúp đỡ chính xác mà tôi cần! – thomax