Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 159 Vote(s) - 3.46 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to develop and test an iOS framework in XCode

#1
I have followed a tutorial on [iOS-Framework][1]. On the last part "*Developing the Framework as a Dependent Project*", I have created the framework project and a test project which includes the framework.

However, when I try to open at the same time both projects in XCode, I am getting :

Cannot open "MyLib.xcodeproj" because it is already open in another workspace.

How can I develop my framework and test it every 30 seconds like all the developers do?

I am using `XCode 4.6.2`.


[1]:

[To see links please register here]

Reply

#2
The solution is to create an XCode workspace:

1. Choose File > New > New Workspace.
2. Enter the workspace name, and specify its location in your file system.
3. Click Save.
4. In the project navigator, Control-click in the empty space below the list.
5. Choose Add Files to “YourWorkspace”.
6. Navigate into the folder containing the project package.
7. Select the framework project xcodeproj and click Add.
8. Redo the steps 4 to 7 for the test project

I found the workspace documentation in the [XCode User Guide][1].



[1]:

[To see links please register here]

Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through