xcode5

'Cordova/CDVViewController.h' file not found when run in Xcode terminal

你离开我真会死。 提交于 2019-12-22 04:54:11
问题 So when I am trying to build my code from xcode terminal it is failing and giving me an error of 'Cordova/CDVViewController.h' file not found but when I am building this from xcode then it is building just fine. In my Xcode, I've done the whole Cordova sub directory thing Upgrade Cordova. Also when I ran list. This is what I see below: xcodebuild -list Information about project "myProject": Targets: myProject Build Configurations: Debug Release If no build configuration is specified and

iOS7 issues with NSIBPrototypingLayoutConstraint autolayout constraints generated by Interface Builder

淺唱寂寞╮ 提交于 2019-12-22 03:58:52
问题 Previously in iOS6, my chat message view controller displayed and animated correctly with carefully constructed autolayout constraints in IB. Here's the current view hierarchy with the constraints removed in Xcode 5: After upgrading to XCode 5 and iOS7, I found I needed to clear all the old constraints in order to account for the default translucent status bar, otherwise my toolbar would fall under the status bar. This happened despite calling setEdgesForExtendedLayout: with UIRectEdgeNone. I

iOS Application crashes when using SpriteKit's TextureAtlas and building over Xcode command-line

∥☆過路亽.° 提交于 2019-12-21 20:56:28
问题 We use the new SpriteKit framework in iOS 7 to develop small games. To build and distribute new versions of our games, we use a build and deploy server which uses Xcode5's command-line tools. When we use a Texture Atlas in Xcode and open the SpriteKit view which uses images from the texture atlas, the application (built over command-line) crashes. When we build the application Xcode's GUI and deploy it to the device using Xcode's GUI, everything works fine and the application does not crash.

Preparing an unsigned Xcarchive

亡梦爱人 提交于 2019-12-21 20:50:19
问题 TLDR; Question: Is there a way to prepare a an XArchive that they can then assign a provisioning profile themselves and sign using an appropriate distribution certificate? Long Question: My client sent me a provisioning profile for an app I'm developing for them. They don't want to send me their Distribution Certificate (.p12 file). The instructions they gave me are as follows: Load the provisioning profile onto your system In your project, choose the provisioning profile under the target's

Ad hoc distribution: failed to install app

别来无恙 提交于 2019-12-21 20:44:43
问题 I'm developing an ios app (only for iphone) and trying to have other people test it. I have no problem installing the app on my own device through Ad hoc distribution. When I tried installing on another person's device, it always failed with the message "xxxxx could not be installed at this time". I'm using xcode 5. Here are the steps that I followed: Add the device's UDID to the existing Ad hoc provisioning profile in the developer portal Download that provisioning profile and drag that to

iOS 7 adhoc build installation hangs with installing message

一个人想着一个人 提交于 2019-12-21 19:57:49
问题 When building the app I added the valid architectures architecture as armv6, armv7, armvs7 and architectures as standard architecture (armv7 and armv7s). Also switched the build active architecture only to NO. Adhoc installation hangs with the status installing message (attached screenshot). I have added the UDIDs properly and was successfully able to push builds like this to those devices prior to iOS 7. This is reproducible with 4 devices so I believe this is something to do with the way I

Storyboard - Position is ambiguous for “Round Style Text Field” Warning

蹲街弑〆低调 提交于 2019-12-21 16:49:08
问题 https://stackoverflow.com/a/16251810/2589276 I solved the problem above but got a new problem when I did the steps I was instructed to. Now I get a warning saying: Position is ambiguous for "Round Style Text Field" I tried setting fixed constraint for width also, but did not fix this warning. Any ideas? Are there any other information I should give for this problem? This screen shot when I do add constraint to x, leading space constraint (for x) and vertical space constraint from the bottom.

How to migrate from iPhone/iPad storyboards to universal storyboard

一曲冷凌霜 提交于 2019-12-21 09:17:08
问题 I have a project created in Xcode 5. The "Deployment Info" settings says Devices: Universal but has separate iPhone and iPad settings and corresponding iPhone and iPad storyboards. Now I'm developing the same project in Xcode 6 and I want to use one universal storyboard instead of two storyboards. I have only worked on the iPhone storyboard and haven't touched the iPad one. Is it possible to ditch the iPad storyboard and convert the existing iPhone storyboard to be my main universal

iOS Release IPA using someone else's .p12 & .mobileprovision

纵饮孤独 提交于 2019-12-21 05:48:12
问题 I'm trying to build & release an IPA and sign it with someone else's (The customer) .p12 file and a .mobileprovision. What I do not have is their apple developer account user and password combination (I only have my own user and password which are not related). How can I build and release it using their certificate which I mentioned before (enterprise distribution)? I'm using Xcode Version 5.1.1 (5B1008) I have imported the p12 file, and it appears to be fine and visible in keychain. In Xcode

How to remove icon glare in XCode 5 / iOS 7?

你。 提交于 2019-12-21 05:06:26
问题 I am using XCode 5 developer preview to create an iOS 7 app. In iOS 7, the glare effect of an icon does not exist anymore. That's fine. But now, when I run an app compiled by XCode 5 on an iOS 6 device (or simulator) I see the glare effect on the icon! The usual ways of disabling glare (editing the App-Info.plist file) don't work anymore. So my question is: how can I disable the glare effect on iOS 6 in an app compiled by XCode 5? Side note: I'm using the asset library to configure all the