xcode4

Provisioning profile not found

孤人 提交于 2019-12-10 04:17:02
问题 I have just upgraded my iPhone to the 4S and having restored all of the settings from my old phone I found that three of my apps were missing. I went to the Apple Dev centre and deleted my old phone and then rebuilt and downloaded the profiles with my new phone added. I removed all of the old profiles and copied the newly created ones across. The problem now is that in two of my projects, when I try to build I get an error - [BEROR]Code Sign error: Provisioning profile '8A69C027-B06A-4A32

How to install Cocos2d PROJECT templates in Xcode 4?

时光总嘲笑我的痴心妄想 提交于 2019-12-10 04:15:06
问题 I've probably googled this question in 20 different syntaxes and I can't find the answer. PLEASE HELP!!! How do I install the Cocos2d project templates in xcode 4? I've tried different ways, but they still don't show up when I build a new project in Xcode 4! HELP! 回答1: The templates have already been published: http://www.cocos2d-iphone.org/forum/topic/13782/page/2#post-82267 回答2: Download "cocos2d-iphone" from This Link. And follow instructions in Pics. 回答3: You don't yet. The author of

xcode4 doesn't support Perforce?

社会主义新天地 提交于 2019-12-10 04:06:52
问题 xcode4 doesn't support Perforce? I add a repository in xcode4. Only subversion and Git to choose. how to add a perforce repository? thank you. 回答1: I threw together a couple of Automator services that let you bind hotkeys for p4 edit/p4 add on the currently open file in Xcode 4. It's not ideal, but it beats switching to terminal or p4v. https://github.com/jcohen/xcode4-perforce-services 回答2: It's also useful to note that there is a setting in Preferences/Behaviors to add behaviors to

Where is MainWindow.xib in new Xcode project?

假如想象 提交于 2019-12-10 02:45:20
问题 I started a new project in Xcode 4 using the TabBar template. I noticed that there was no MainWindow.xib file in the project. Did Apple get rid of this file? How can I access the Mainwindow without this file? 回答1: MainWindow.xib was kind of superfluous to begin with, keeping in mind that it doesn't really contain any "visible" components (thinking of the window as an invisible container) and that usually you don't need to modify it. (That said, I'm only a beginner in iOS development myself,

store folders in package contents (bundle resources) in xcode 4.0

a 夏天 提交于 2019-12-10 02:02:14
问题 I need to store a folder in the package contents, not all files in the project all in one root folder. How can I do this in XCode 4.0? Right now I am going to the Build Phases > Copy Bundle Resources to attempt these changes. 回答1: Create your folder in the filesystem, then drag it to the resource folder in XCode. In the following dialog select create folder reference for any added folder. The folder should be blue. This folder is copied to your bundle with its contents. 来源: https:/

can't find info.plist in xcode 4

梦想的初衷 提交于 2019-12-10 01:47:46
问题 So the regular intro: I am a newbie to objective c, searched everywhere and could not find, so please help... All I want to do is to set my app to get location updates in the background - THAT'S IT. I know that I suppose to add location to UIBackgroundModes in the info.plist file in my project, however I have just NO CLUE where info.plist is. All I see under my project Build Settings under Packaging is info.plist file (with Release and Debug underneath). No presence of UIBackgroundModes

UIButton image resize/scale to fit

╄→гoц情女王★ 提交于 2019-12-09 19:31:02
问题 I have a really wired problem and i don’t know how to solve it. I’m animating a UIButtons frame and when i animate it, i want the image in the button to scale to the same size as the button. It works without doing anything on my iPhone simulator. But when i run it on the iPad simulator it won’t change the image size. I have added [[gissaImg1 imageView] setContentMode:UIViewContentModeScaleToFill] code on several places but it did not help. Do anyone know what is wrong and how to fix this

How to ignore some static library for iOS simulator

↘锁芯ラ 提交于 2019-12-09 19:11:58
问题 I am trying to build my project for sdk iphoneos and iphonesimulator. There are few .a static libraries that can only be utilized for iphoneos. Where can I go an ignore these files if its being build for iphonesimulator within XCode? Thanks. 回答1: Instead of hard linking the libraries, use the "Other Linker Flags" setting in the project configuration settings. You'll be able to link different versions of libraries based on the current build configuration. By default you already have Debug and

Point XCode4 to my client certificate

混江龙づ霸主 提交于 2019-12-09 19:00:49
问题 I'm having the same problem with XCode4. My svn cmd line is set to use client certificates. Everytime I launch XCode I get a dialog saying server.mycompany.com requires a client certificate but I have no idea where to tell it to find my client .p12 and my CA pem files. I have it set correctly in ~/.subversion/servers but XCode doesn't seem to care about these configs. I'm almost certain there's a magic overriding svn config sitting somewhere that XCode relies on but I don't know where! Help?

How can I move files & folders using git in Xcode 4?

荒凉一梦 提交于 2019-12-09 17:23:44
问题 I'm familiar with the differences between groups and actual directories in Xcode. I always create an actual folder in finder and drag it into the project, ensuring 'copy' is un-checked. When I move folders, I delete the items by reference only, move them in finder, then re-add them. Now I'm using git for the first time, and discovered in my testing that if I remove a directory using the method described above, I can't do a commit. Xcode tells me it can't switch to the directory because 'no