Steps to reproduce:
- Create a new single page application in swift using Xcode 6 beta 5
- Add TouchDB.framework and CouchCocoa.framework to project by following this steps
- Add a new swift file to project and type
Create a bridging header file and import CouchCocoa:
import < CouchCocoa/CouchCocoa.h >
Add a new swift file to project and type
class TestData : CouchMode { }
Build the project,
ld: warning: ignoring file /Users/Robin/Documents/TouchTest/Frameworks/TouchDB.framework/TouchDB, missing required architecture x86_64 in file /Users/Robin/Documents/TouchTest/Frameworks/TouchDB.framework/TouchDB (3 slices)
ld: warning: ignoring file /Users/Robin/Documents/TouchTest/Frameworks/CouchCocoa.framework/CouchCocoa, missing required architecture x86_64 in file /Users/Robin/Documents/TouchTest/Frameworks/CouchCocoa.framework/CouchCocoa (3 slices)
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_CouchModel", referenced from: _OBJC_CLASS_$__TtC9TouchTest8TestData in ViewController.o "_OBJC_METACLASS_$_CouchModel", referenced from: _OBJC_METACLASS_$__TtC9TouchTest8TestData in ViewController.o
ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any help here? This works previously on Xcode 6 Beta 4
Apologize for bad english