Thanks Steven Shen share his knowledge
- Create a new project(select framework item) and workspace. Put the project to the workspace
- Workspace and project name should be the same.
- Create a New Target from your framework project
- Select
Other
-> Aggregate -> set Name isxxx-Universal
- Select
- Copy below code, and paste to
New Target:Aggregate
script - Go to scheme manager and
Click the [shared]
withproject name
andxxx-Universal name
- Run the
New Target:Aggregate
, and folder include universal-framework will be open.
ps : If xcode alert No find xxx.framework from Debug-iphoneos and Debug-iphonesimulator
Go to check the name of workspace and project, the name should be the same.
1 |
|