如题所述
ããæ¥éª¤ä¸ï¼
ããéä¸é¡¹ç®ï¼ç¹å»App Extension target(è¿éæ¯Today Extension)
ããæ¥éª¤äºï¼å¨å³è¾¹çTabsä¸ï¼éæ©Build Settings,å¨è¿æ»¤æ¡ä¸è¾å
¥"bridg"
ããå¨å¼¹åºçè¾å ¥æ¡ä¸ï¼è¾å ¥ä½ çæ¡¥æ¥æ件åï¼è¿ä¸ªæ件æ¯å°Objective-Cåçæ件æ´é²ç»Swfit使ç¨ï¼å¦æ没æè¿ä¸ªæ件åï¼å¯ä»¥æ°å»ºä¸ä¸ªå¤´æ件ï¼ååéæï¼ä¸è¬å½åè§åæ¯é¡¹ç®å-Bridging-Header.hï¼ã
ããæ¥éª¤ä¸ï¼éæ©é¡¹ç®ï¼PROJECT)ï¼å¨å³è¾¹çTabsä¸ï¼éæ©Info,å¨Configurationsä¸å¯ä»¥æ¾å°DebugåRelease两项ï¼åèªå±å¼ï¼æ¾å°ä½ çApp Extensionçååï¼è¿éToday Extensionåå为OutDrive Extensionï¼å¯ä»¥åç°å®çå¼æ¯Noneï¼ç¹å»è¿ä¸ªå¼ï¼å¨å¼¹åºççªå£ä¸ï¼éæ©Pods-OutDrive.debugï¼åçï¼å¨Releaseä¸å°OutDrive Extensionçå¼è®¾ç½®æPods-OutDrive.releaseã
ããå¨å¼¹åºçè¾å ¥æ¡ä¸ï¼è¾å ¥ä½ çæ¡¥æ¥æ件åï¼è¿ä¸ªæ件æ¯å°Objective-Cåçæ件æ´é²ç»Swfit使ç¨ï¼å¦æ没æè¿ä¸ªæ件åï¼å¯ä»¥æ°å»ºä¸ä¸ªå¤´æ件ï¼ååéæï¼ä¸è¬å½åè§åæ¯é¡¹ç®å-Bridging-Header.hï¼ã
ããæ¥éª¤ä¸ï¼éæ©é¡¹ç®ï¼PROJECT)ï¼å¨å³è¾¹çTabsä¸ï¼éæ©Info,å¨Configurationsä¸å¯ä»¥æ¾å°DebugåRelease两项ï¼åèªå±å¼ï¼æ¾å°ä½ çApp Extensionçååï¼è¿éToday Extensionåå为OutDrive Extensionï¼å¯ä»¥åç°å®çå¼æ¯Noneï¼ç¹å»è¿ä¸ªå¼ï¼å¨å¼¹åºççªå£ä¸ï¼éæ©Pods-OutDrive.debugï¼åçï¼å¨Releaseä¸å°OutDrive Extensionçå¼è®¾ç½®æPods-OutDrive.releaseã
ããæ¥éª¤åï¼Command + Bï¼ï¼ççæ没æç¼è¯é误ã
ããæ¥éª¤äºï¼å¨ä½ çApp Extension代ç éï¼è¯è¯ç¼è¯å¨ä¼ä¸ä¼èªå¨å®æ第ä¸æ¹åºçç±»åã
ããååï¼åºæ¥äºã