This question already has answers here:
Xcode Project vs. Xcode Workspace - Differences
(5 answers)
Closed 6 years ago.
I have been trying to understand xcode..
What is a Workspace?
Is there something that can't be done with a project that needs a Workspace?
Apple has a page explaining what Workspace is.
In short, it's used to group several projects together to build an app. If you use CocoaPods for example, the pods are referenced as targets from another project. A workspace helps tie your code and those pods together to make an app.
You use a workspace to share a code library amongst multiple projects.
Watch https://youtu.be/LNU6L2pnq0k and it should help you get a better idea of why/how they are used.
Related
This question already has answers here:
Submit to App Store issues: Unsupported Architecture x86
(17 answers)
Closed 6 years ago.
I am trying to upload an XCode project to App Store and running into frameworks related issues. The project has AWSCore framework, which rather than cocoa pods route, has been manually downloaded and added to the project. It also has been added to both the 'Build Phases' settings of target - 'Embedded Binaries' and 'Linked Frameworks and Libraries'. These two setting combined however, might be causing the below mentioned issues while uploading the project to App Store:
ERROR ITMS-90087: "Unsupported Architectures. The executable for /Frameworks/AWSCore.framework contains unsupported architectures '[x86_64, i386]’."
ERROR ITMS-90209: "Invalid Segment Alignment. /Frameworks/AWSCore.framework/AWSCore' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version."
I do have the latest version of XCode, so not sure why I am getting the second error message. Some StackOverflow posts suggested removing the framework from 'Embedded Binaries' section of 'Build Phases', but that's introducing the following run time error:
dyld: Library not loaded: #rpath/AWSCore.framework/AWSCore Referenced from: /var/containers/Bundle/Application/
This seems to be quite a conundrum. Wondering if anyone else has run into same issue and what has been the fix? Thanks!
As pointed out by William GP in the comments to the question, my question was similar to the one asked here: Submit to App Store issues: Unsupported Architecture x86.
Please see the following link for the perfectly well described analysis of the problem and also detailed solution by Daniel Kennett: http://ikennd.ac/blog/2015/02/stripping-unwanted-architectures-from-dynamic-libraries-in-xcode/
This question already has answers here:
Xamarin Forms Android Error: Please install package 'Android Support Library'
(13 answers)
Closed 6 years ago.
I've developed a project in windows,later i loaded into my mac mini it was running fine,then i've seen package updates available ,when updated i got 39 errors saying
/Users/xxxx/Projects/TimeSheet/TimeSheet: Error XA5209: Unzipping failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip and extract it to the /Users/xxxxx/.local/share/Xamarin/Android.Support.v7.RecyclerView/23.3.0.0/content directory. (XA5209) (TimeSheet)
when i checked this directory ""/Users/xxxxx/.local/share/Xamarin/Android.Support.v7.RecyclerView/23.3.0.0/ """" there was nothing updated in 23.3.0.0 Folder in mac.is there any restriction is there guys? please help me
Thank you
You don't want to download the latest Android support libraries since Xamarin uses an older version. They take longer to update since they need to do the translation.
The current version that is compatible is 23.0.1.3.
See the Troubleshooting guide for more information.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
I've got a perfectly running sprite-kit project cloned from github to my mac, and i keep getting multiple compiling errors as the one in the title.
The project works well on all supported devices and simulators in my friends mac, which has the same Xcode Version 5.0.2, ios7+. I have no clue where I'm getting this error from, it comes from native libraries such as corefoundation. Has anyone ever seen this error before?
it seems to be a bug in xcode 5 and github. I've tried doing git checkout to older commits, till I found one that did work. then I did git checkout back to the latest commit, and it would magically work. the problem may reappear often, but then just repeating the process will do, as it did for me a couple of times.
This question already has answers here:
Codeigniter on Ubuntu no welcome message
(3 answers)
Closed 9 years ago.
I'm having trouble making my CodeIgniter project work in Ubuntu, since I've previously developed on Windows I am unfamiliar with the environment. My main problem is that I don't even see any error or warning that can help me determine what the problem is. It's just a blank screen. But I already run the symfony project on my laptop Symfony project was smoothly running. I also give the full permission on my CodeIgniter project.
On Ubuntu, one of the best tools for debugging websites is checking the log files.
The Apache log files are usually located in /var/log/apache2/ and you can set up CodeIgniter to log errors to a file too.
Once you have that information, searching for a solution to your problem usually becomes much easier.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
file is universal (3 slices) but does not contain a(n) armv7s slice error for static libraries on iOS, anyway to bypass?
Recently upgraded Xcode and my iOS devices to the latest respective versions and i'm now unable to build an app using the Facebook SDK (version 3.0.8) for a device - building on the Simulator works fine.
Error I'm receiving whilst trying to build:
file is universal (3 slices) but does not contain a(n) armv7s slice: ....FacebookSDK.framework/FacebookSDK for architecture armv7s
I've noticed that on the iOS SDK landing page (http://developers.facebook.com/ios/) they have this peice of text..
Upgrade to 3.0 SDK. We will be adding support for the much anticipated iOS 6 integration to the SDK in the coming weeks.
So.. is that it? Am i literally unable to continue to work for potentially weeks until they support iOS6?
I'm hoping there is a quick fix for this, surely I can't be the only one in this situation.
Thanks for any help you can offer.
For a temporary fix you can do what Sudhakar said, but the app won't run on an iPhone 5, (or atleast with my tests it didn't). You really need a properly compiled SDK.
The current Facebook SDK is build for armv6. I hear they are working on getting a new version out asap that is build for armv7.
In the meantime you can clone down the facebook SDK from github and compile the SDK to work with armv7 yourself. Below are the instructions:
Download or clone a copy of the source code from the git hub page (https://github.com/facebook/facebook-ios-sdk)
Open up the xcode project and in the build settings change the architecture to armv7.
Save and close
Navigate to /scripts and in terminal run build_all.sh
This will then compile the source and output builds/FacebookSDK.framework
To get this to work I had to clone the git repository to /Desktop/iOS
I replaced the FacebookSDK.framework that was within my app with the newly created version and it worked like a charm.
good luck!
Click the your are Xcode Project -> in Architures tab -> valid Architures -> keep armv7 only and remove armv7s.
In my case it working fine, this is only temparary solution.