How to create code signing and IPA-file in xcode4.3? - xcode4.3

I'm building my first app in xcode4.3 on lion. Now I want to beta-test using testflight. I've looked at the tutorial:
"http://help.testflightapp.com/customer/portal/articles/402782-how-to-create-an-ipa-xcode-4-"
But I get stuck at the 2nd step when I'm about to create an Entitlement. In xcode I don't have the "code signing" alternative in the "IOS" template list and am unable to continue the guide. And all the other tutorials I've found are outdated. I would really appreciate a step-by-step guide that works with xcode4.3.

If you want to find the Entitlements file, you can do like this:
Click your project, then Targets- Summary, at then end you can see 'Enable Entitlements', check it then you can see a new file named yourApp.Entitlements appeared in your project.

That tutorial is outdated, with xcode 4.3 you dont create an ipa and upload with uploader as in that tutorial. Create your app ID, code sign, and you will be asked during the process whether you want to distribute to Appstore or create ipa. Just follow the process and you will be presented with that option towards the end, then you can create your IPA

Related

How to add NSPhotoLibraryUsageDescription, NSCameraUsageDescription, and NSMicrophoneUsageDescription to info.plist for react-native-image-picker

I'm new to xcode and react-native. I'm trying to use react-native-image-picker to add a user profile (uploaded to s3). react-native-image-picker's getting started assumes you have knowledge of info.plist. I'm not 100% sure how to proceed given:
For iOS 10+, Add the NSPhotoLibraryUsageDescription,
NSCameraUsageDescription, and NSMicrophoneUsageDescription (if
allowing video) keys to your Info.plist with strings describing why
your app needs these permissions
I know the info.plists are found in the ios folder, but
which info.plist do these permissions need to get added to (there's multiple inside ios folder: build, RNapp, RNapp-tvOS, RNapp.xcodeproj, etc)?
how does the XML look?
Should this be happening in xcode instead of my text editor?
docs
if you don't providing the privacy key in Info.plist, then your app is crash. You can see its log why crashed.
You will find these code below in the info.plist of your xcode , open in text editor.
adding these will grant the permission for using camera, PhotoLibrary, Video
<key>NSCameraUsageDescription</key>
<string>${PRODUCT_NAME} Camera Usage</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>${PRODUCT_NAME} PhotoLibrary Usage</string>
<key>NSVideoSubscriberAccountUsageDescription</key>
<string>${PRODUCT_NAME} Video Subscribe Usage</string>
add ti info.plist
<key>NSPhotoLibraryUsageDescription</key>
<string>Photo Library Access Warning</string>
You want to edit the plist that you need the permissions for. If you are making a mobile app that would be: RNapp.
You could do this in a text editor but the easiest way to do it is in Xcode.
Open the plist, on the last item (making sure it is not expanded_ hit the + button to create a new row to provide a key to define a value for. Xcode should autocomplete on the keys you provided above and set the value to the appropriate type.
Hope this helps.

Cocoa/objectiveC UI design issue

I'm trying to build an app on MacOSX - ObjectiveC. I don't not find a good ressource to understand how I can create the view I need and the steps to made it.
I'm looking mostly to create 3 sections.
Section 1: Few buttons and one image
Section 2: TreeView to have a File browser/finder
Section 3: Progress bar to show the disk usage.
I'm creating an app to read android device and manage file transfer. Such as Android File Transfer.
First and foremost you need to look over the tutorial that Apple provides on creating your first Mac app.
Second you can use NSOutlineView to create your treeview, here's a tutorial on this.
Then you need NSProgressIndicator for your progress bar, here's a tutorial.
I also suggest you look over at ray's tutorials to get started with XCode and all the interface builder tools.

testing sencha application

I want to develop a sencha application who use a picture and make some modification on it. I want the user to be able to select the photo via phone camera or from photos that he already has in his phone.
I've searched all over the sencha documentation and found a solution to do this first step but I can't figure up how to test it.
I mean how can I test my application on the mobile?
I will be very grateful if someone will help me how to test a simple hello world sencha application on the mobile, because I'm really stuck at this step.
In order to test it on an actual device, you'll have to use PhoneGap (now called Apache Cordova). I'm not sure which device you have, but there's a list of tutorials to get you started here:
http://docs.phonegap.com/en/2.0.0/guide_getting-started_index.md.html
Then all you have to do is move any of the files Sencha has generated into the assets folder.
If you're looking for a tutorial on how to get started with Sencha, here's a good one:
http://www.sencha.com/learn/hello-world/

XCode 4.2: How To Use Page-Based Application

I am trying to explore xcode 4.2, and now i am trying to build a simple book app using the page-based app template on xcode.
I actually have no idea how things go on page-based app. to practice i want to load 1 image (different image each page) in every page. it's just a simple picture look book just for me to learn and be familiar how will i able to work with page-based application.
I am a bit confused with it, i don't know where to start. how will i able to do that??
any links for reference? or books that tackles the page-based application??
There is a book by Wei-Meng Lee called 'Beginning iOS 5 Application Development" he has online source code free for book owners. It's located here: http://www.wrox.com/WileyCDA/WroxTitle/Beginning-iOS-5-Application-Development.productCd-1118144252,descCd-DOWNLOAD.html
In the FULL DOWNLOAD there is an app called UsingViews (UsingViews.zip). That app shows you how to move through views. I highly recommend purchasing his book. Very Helpful.
Apple Documentation is also very helpful as others have already pointed out.

Xcode: how to create .app from a cocoa project?

I have a cocoa project and I would like to create .app package for that. Maybe it's a silly question but I was unable figure it out.
In Xcode, in the menu bar. Product->Archive When that is done it should take you to the Organiser (with the new archive selected), select share, and you can export it to the format you choose.
Have a read of the Xcode 4 User Guide which tells you how to do this for iOS and for Mac OS.
It also tells you a lot of other stuff that you'll find useful as well.