Class CalendarModel is implemented in both /Users/zhongqihulian/Library/Developer/CoreSimulator/Devices/5827D04B-BADE-4213-B278-4DE0EFC329ED/data/Containers/Bundle/Application/EE52F2FE-7D17-499B-9274-7FB1E68473F7/XYFrameWork.app/XYFrameWork and /Applications/Xcode_7.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/EventKitUI.framework/EventKitUI. One of the two will be used. Which one is undefined.app
solve:ui
Set "Bundle Loader" correctly to $(BUILT_PRODUCTS_DIR)/AppName.app/AppName Set "Symbols Hidden by Default" to NO (in Build Settings of the target application). This is where the linker errors come from because it is YES by default!. I've been struggling with this for so long!.this
無效 實際上是 CalendarModel 與系統的 日曆庫EventKitUI 命名衝突 但爲何 出現 還未發現code