I'm looking to implement Flickr in my iPhone app with ObjectiveFlickr. I'm using Xcode 4 and am trying to follow this part of the instructions:
"On your app target, open the info window (using Get Info on the target), then in the General tab, add ObjectiveFlickr (library) to Direct Dependencies."
https://github.com/lukhnos/objectiveflickr
How do I "Get Info" on my target in Xcode 4?
I'm not sure those instructions are quite accurate, but if you want to add a dependency, here's how:
Tap the project in the project navigator, tap your target, then open the Build Phases tab.
You will be able to access the dependency in the top section by tapping the "+"
Related
I download Core ML model files from Apple's web page but my mac and XCode don't recognise them. Here is what I see when I add them to my project navigator:
What am I doing wrong?
I had this problem and noticed that XCode 9 Beta 4 has a bug in which every time you drag a mlmodel to your project it does not get added to the target even though you selected your target to add.
The solution is to click the file and tick the "Add to target" box located in the utilities tab. (XCode's right panel)
I am trying to implement ios phonegap In app purchasement plugin.
I need to add storekit.Framework to xcode project but cant find one.
I googled storekit.Framework but all information I found was how to use it and what storekit about
but not where is it. can anyone tell me where should I visit to download storekitFramework?
It is a standard framework available in iOS. To use it, simply
Select your project
Select your target
Select Build Phases
In Link Binaries with Libraries, click +
Search for StoreKit and Add
Import the framework in your class.
StoreKit.Framework is already included in all iOS SDK's above 3.0, so there's no need to download it.
To add it to your project, just click your Project's Name on the left-hand panel of Xcode (near the top), and then your project's name again, under the "Targets" section of the now second-to-left hand panel. Now click "Build Phases" near the top of the window, and then expand "Link Binary With Libraries".
Now just hit the "+" at the bottom-left corner, find StoreKit.Framework, and click add. That should do it!
How i can make modifications to code after i deployed it on iPhone device. i only see summary, info, build settings, build phases and build rules. Don't see all project files which i can open and add changes to it.
Any ideas how to add changes after deploying and testing on real device.
It sounds like you are in the project or target settings. If you see a menu on the left of your screen you should be able to browse the files in your project to make changes. If you do not see that menu, then on the top right corner of the screen there should be 3 buttons with the word "View" underneath them. Click the left-most of those 3 buttons and the menu will show.
#user1120133, if you just run the program on your device again instead of the simulator, it will automatically update everything for you. I think that is what you mean.
Starting a new project in Xcode 4 - what's the best way to make it a Universal app?
When you create a new project it asks you to input the Device Family but the dropdown menu only has two options - one is iPad and the other is iPhone.
What's the best way to create a Universal app then?
Thanks!
Got it from somebody on another forum -
Create an iPhone version, then click on the Project Name at the very top of the menu to bring up a menu with Project and Targets listed. Click on the Target and there is a Devices drop-down menu in the main Summary tab that you can change to Universal. Once you do that, Xcode will ask you if you want to upgrade to a universal project, then you can click 'yes' and that's all!
No biggie, but when I add the AVFoundation framework for the iPhone, it turns red for some reason I'm unable to figure out why. The project will not compile unless I add this framework, and if I do, Xcode will mark the framework red (apparently that means xcode cannot find the framework), but yet it will work.
This is quite annoying. Any clue what I might be doing wrong here?
Try adding AVFoundation framework via your target.
Look for your target under "Groups and Files"
"Get Info" for it
Click the "General" tab
At the bottom right of the window click the "+" button
At the top of your list you should find AVFoundation, add it.
close Xcode
delete your project
shut down your mac
take the mac back to your boss and tell him it's not working
wait until they figure out what it is
if this doesn't work, find a new job that doesn't require the use of a mac
All I had to do was open up the "General" settings tab for the project and change the "Base SDK for All Configurations" value. It was set to an SDK that I no longer had installed.