简体   繁体   中英

Could not create archive for project with Cocoa Touch Framework

I try to create IPA file for my application.

At first i try to make archive. It creates good for Application with extension, but when i try to add my custom Cocoa Touch Framework (with at least one .swift file, even empty), Xcode says that "error: underlying Objective-C module 'View' not found" By the way, with empty framework it works well.

Where is my mistake?

My steps are next: I set Provision Profile in project 在此处输入图片说明

Then i select "iOS Device" and push "Archive" button.

我通过删除Xcode模板自动创建的MyFramework.h解决了该问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM