i'm having a play around with MonoTouch for the very first time. In the Hello World tutorial for Noobs-Like-Me, it say's the following :-
Launch Interface Builder by double-clicking on the MainWindow.xib file. Once Interface Builder starts up, you should see a surface (your window) and a Library that contains various components. Your Library should look like the following screenshot. If it is not there, select Library from the Tools menu
When I try that, nothing happens. No new 'window' shows. If i goto the Tools menu, there is no option for Library.
The solution type I made was a C# iPhone Window-based Project.
Can someone help me please?
Interface Builder is part of the iOS SDK made available to developers by Apple; it is not part of MonoTouch or the MonoDevelop IDE. If nothing happens when you try to open a .xib file, IB may not be installed on your Mac.
To obtain it, go to the iOS Dev Center and download Xcode 3.2.6 and iOS SDK. Make sure you download Xcode 3 and not Xcode 4, as IB is only a separate application in version 3. Quoting from this answer of mine to find the Xcode 3 download link:
... under the Xcode 4 + iOS SDK 4.3 download link you should find an Xcode 3.2.6 + iOS SDK 4.3 download link. If you don't see it you may need to log in first.
Here it is:
Related
I recently downgraded to Xcode 3.2.1 to learn from the new boston tutorial. When launching Xcode, there popup saying new project. Then after that, when you chose selection if you to build a Mac app or iphone app, there isnt a iPHONE section? just a mac os selection.
That means the iOS SDK is not installed. You need to dig through the developer site to find the right iOS SDK to install as well. If that doesn't fix it you will have to make the translations from Xcode 3 to 4 in order to follow the tutorial (maybe find a tutorial focused on Xcode 4 to find where things are in it).
I am doing my first app in xcode for iPhone. I am using xcode 3.2.
I want to use the format of Facebook application (a removable menu in left-hand). I would like to know if this option is a template of xcode (I have seen the same submenu in other applications). Or maybe this template is available in new versions of xcode. I can not found it in my xcode version (or I don't know how I must build it).
So:
Is a removable menu in left-hand a template? What is the name of this template?
What is the version of xcode in?
Can I use this template in xcode 3.2?
Thank you in advanced.
That particular control is not an iOS default but rather a third-party library a lot of apps use because it's very effective and good looking. Here is one of the implementations you can use in your project:
http://www.cocoacontrols.com/controls/iiviewdeckcontroller
Is is possible to submit the app with base SDK iOS5.1 and with Default-568h#2x.png, so that application will not leave an extra black space?
Our normal application is working fine on iPhone5 leaving a black space from top and bottom, but if we just include "Default-568h#2x.png", will it work fine (the view displayed in complete area of iPhone5)?
There are lots of dependencies to support iOS6, so is it possible to submit the app with "Default-568h#2x.png" and base SDK iOS5.1?
It is impossible to submit the iPhone 5 full screen app which is built with Xcode 4.4.1 and iOS 5.1 SDK. I did the same thing to support both old devices of armv6/iOS 3.x and iPhone 5. But I got this reject message from itunesconnect. I think it is the new policy of App Store.
"Invalid Launch Image - You app contains a launch image with a size modifier that is only supported for apps built with the iOS 6.0 SDK or later."
just edit the size of Default-568h#2x.png with the same one of Default#x2.png splash screens, don't rename it, adjust only it size, it's how it worked for me, seems the binary does gets faked, my app it's waiting for the review don't know yet if will be approved.
I do not see any policy from Apple to forbid developers to submit apps based on SDK 5.1. My understanding is that if you develop on SDK 5.1 you should also test your app on iOS 6.
Having said that, iOS 6 SDK provides good features to help developers manage the layout, and Apple surely wants the developers to use the latest.
To avoid "Invalid Launch Image" problem on submitting app with iPhone 5 launch image using XCode 4.4.1, please following these steps:
Archive your App under XCode 4.5
Open Organizer, show your App folder in Finder, enter your App’s Products/Applications folder, copy Info.plist and archived-expanded-entitlements.xcent to your home folder.
Open your Info.plist (~/Info.plist) using XCode, and modify MinimumOSVersion from 4.3 to 4.0
Close XCode 4.5 and open XCode 4.4.1, open your App project and open your Target’s “Build Phrases” tab, add a Run Script, with shell “/bin/sh” and “cp -f ~/Info.plist ~/archived-expanded-entitlements.xcent “${TARGET_BUILD_DIR}/${EXECUTABLE_NAME}.app”
Re-archive your App, and it should pass App Store’s rule checker and in “Waiting for review” soon.
The app I submitted late October got online in early November. Someone said he used XCode 4.3.2 to submit app in the same way. It should be working for XCode 4.*
For more information, please also read this blog article.
I submitted by mid-feb my binary compiled on Xcode3.2.6 and only had the Default.png, my App got rejected due to a bug related to the 4" screens, some stupid sizing junk, fixed it and tested on Xcode4.6/SDK6.1 which requires that 568h#2x.png file, I added that image to my set , still compiled it on 3.2.6 and submitted my fix and it got automatically rejected with the same msg as here.
Then I just pulled that 568 file out and resubmitted hoping that since it went thru about 2 weeks ago it'd get past again, I triple checked my code on sdk6.1, recompiled/ressubmitted and got the same rejection so it seems like they are enforcing that min Xcode version NOW.
BUT .... guess what? I cleaned everything and twice and rebuilt & decided to give it a last shot, resubmitted and it passed!!! I'm on waiting 4 review now.
I've solved that issue the following way: I'm using iOS SDK 5.1 and Xcode 4.4.1.
Now I've added simply the Default-568h#2x.png to the upper folder of my App in Xcode but not with Xcode 4.5.1.
Then I've built the App through iPhone 5.1 Simulator and finally I've quit the Simulator.
Then go to ../users/myNameUser/Library/Application Support/iPhone Simulator/5.1/Applications/... search for your App and Copy the complete folder (e.g. F83221EA-1HB4-4947-9DH4-43D8QZ3FFEA3).
Then go to ../users/myNameUser/Library/Application Support/iPhone Simulator/6.0/Applications/ and paste in the copied folder from the 5.1 Simulator.
Finally open your Applications folder go to your Xcode App (4.5.1) then right click and show package content: Go to ../contents/applications/ and double click "iPhone Simulator.app".
Now you are running the new iPhone Simulator with your iOS SDK 5.1 App. Great job? Now you can change the hardware of the simulator to the new iPhone Retina-4-inch.
And you can see how your App will look like on the new iPhone 5.
I've sent my new App version by that way for review - well see if it'll get through.
(Sent with: Xcode 4.4.1 and iPhone 5 support like described on top)
By the way it could be interesting to run Apps from Xcode 4.4 on real iOS 6 Device?
How to do that: Use iOS 6 device for testing with Xcode 4.4 and iOS 5 SDK
I know this was asked previously when Xcode 4 was still in pre-release stage, but now that it is out... Does anyone know how to add outlets and connections with Xcode 4 and Monotouch? The Monotouch trial I downloaded says it requires iPhone SDK 4.3, so it must support it.
Or is there still a way to use Monotouch with Xcode 3?
Thanks.
I think you refer to Interface Builder. If so, just stick with Xcode 3, where IB is still separate.
If you log in to Apple's site at http://developer.apple.com, there is a link where you can download Xcode 4. Below it, you can see "Looking for Xcode 3? Download". There, you can download Xcode 3 together with the 4.3 SDK. The direct link is: http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20792
I keep getting this error.
There is no SDK with the name or path 'iphoneos2.0'
I am running some templates at
http://appsamuck.com/day1.html
I'm running the latest sdk, in the pop up menu (simulator) there is an option iPhone Device 2.0 (missing) (Base SDK)
Then just select another SDK: 3, 3.2 or 4.
Most examples will work, even if they were prepared for SDK 2.
Oh, i have just met this problem last night :) I think your project write in xCode 3.2.2 or earlier but you try to run it on xCode 3.2.3. And you need to tell xCode to run your app in iPhone Simulator with iOS 4 (iPhone running iOS 4 can run iPhone's app write for iOS 3). If that's your problem do some step to slove it:
Select "Project" menu on xCode.
Select "Edit Project Settings" submenu.
Look at line "Base SDK for All Configurations", select iPhone Simulator 4.0 (May be it look like disable but you can select).
Run your project to compile your project.
Good luck :)
Looking at the code here, it's one of the very first iPhone dev tutorials written, and it's evidently not been updated to reflect the current SDK and Xcode versions.
I would suggest starting with a more modern tutorial, then coming back to this once you have the confidence to be able to understand and fix the code.
Go to the project
project> Edit project Setting
Change BASE SDK to the latest IOS
after that
Code Signing Identity: Change it to DON'T CODE SIGN
after doing this some of my applications was working fine but not all of them.