xcode5

ios 7 view with transparent content overlaps previous view

百般思念 提交于 2019-11-29 21:21:51
Recently I updated my xcode project to work with iOS 7, but i faced a big problem. Because my whole application has only one background image (UIImageView added to key window) and all views are transparent, I face a problem when pushing UIViewController, because pushed view controller overlaps previous view (you can see it in the picture here: http://grab.by/qp0k ). I can predict that this is because in iOS 7 push transition has been changed, because now it slides half a screen. Maybe anyone knows how to fix this issue? This is how I set my key windows self.window = [[UIWindow alloc]

Scrolling background - Sprite Kit

半城伤御伤魂 提交于 2019-11-29 21:08:09
So I tried to create an infinite scrolling background by using this post's solution ( Sprite kit side scrolling ). However, I would want to make the image repeatable. As you can see in the video below, after the image has finished it's horizontal way, there is some empty gap.. I would like to make the image fill that gap, so repeat it endlessly. http://www.youtube.com/watch?v=kyLTGz7Irrc or https://vimeo.com/79555900 (password: spritekit) What I did : for (int i = 0; i < 2; i++) { SKSpriteNode * bg = [SKSpriteNode spriteNodeWithImageNamed:@"bgimage"]; bg.anchorPoint = CGPointZero; bg.position

Can you install the Xcode 5 Developer Preview in parallel with Xcode 4.6.2?

拜拜、爱过 提交于 2019-11-29 20:19:37
Apple announced the Xcode 5 Developer Preview today and I want to try it. But before I download this, I want to know that what happen with my current version of Xcode (version 4.6.2)? Will the Xcode 5 Developer Preview install as a different application or it will remove the old version? Will some common tools collide, like the command line tools? The Xcode 5 developer preview comes as a normal app DMG (not with the usual packager/installer) and has a different name. So essentially, you download it, open a DMG, then pull to the Applications folder and thence have two Xcodes there (the old and

CocoaPods arm64 issue

我是研究僧i 提交于 2019-11-29 20:09:38
When using Podfile for developing iOS 7 app with Xcode5, we always got this issue. After some searching, seems like no final resolve from CocoaPods ? Maybe resolved at this moment when you see this. How to resolve such issues right now ? The issue was: Pods was rejected as an implicit dependency for 'libPods.a' because its architectures 'armv7 armv7s' didn't contain all required architectures 'armv7 armv7s arm64' funroll Select the Pods project Change Build Active Architecture Only from Yes to No . That worked for me. Note: CocoaPods Troubleshooting Guide recommends matching the Debug setting

Multiple cursors / highlight next instance of currently highlighted word

喜夏-厌秋 提交于 2019-11-29 19:56:07
In Sublime Text, it's easy to select the next instance of a word by pressing command + d and also place multiple cursors by pressing command & clicking . I know I'm not alone in saying this is an incredibly useful function in editors. I haven't had any luck in finding any key mappings or Alcatraz plugins for this, so I was interested to see if either there is a way to do this in xcode 5 which I might have missed or if there are plans to implement this in xcode 6? If there isn't, and any xcode developers see this, would love to see this as a feature and hear your opinions on it :) It is

Delete provisioning profile from Xcode 5

跟風遠走 提交于 2019-11-29 18:58:43
I've struggling with this for hours. I have 2 same provisioning profiles I've created and the new profile didn't substitute the old one (which expires 6 days earlier than the new one). Through the XCode 5 menu I can't seem to delete the duplicate provisioning profile. Any workaround in this situation? rakmoh If you delete the profile from the Apple development a/c and hit refresh in XCode (Using xcode>Preferences>Accounts) then these profiles will be gone. You can remove them from the this directory on your machine: " ~/Library/MobileDevice/Provisioning\ Profiles" loadedion In the Xcode

Processing lines from one text file to another

做~自己de王妃 提交于 2019-11-29 18:37:44
I would like to give thanks to everyone who helped me with my problem. I was finally able to arrange the data by birth year! Very much appreciated. If anyone can help me with this final question, that'd be great If I have lines in a text file that look like this: 1 4:48:08 Orvar Steingrimsson 1979 30 - 39 ara IS200 2 4:52:25 Gudni Pall Palsson 1987 18 - 29 ara IS870 How can I output this data onto a new text file but only listing three things: year - name - time ... so that these two lines would look like this: 1979 Orvar Steingrimsson 4:48:08 1987 Gudni Pall Palsson 4:52:25 My guess was this:

Can't Open Project in Xcode 4.6 After Opening in 5.0

假装没事ソ 提交于 2019-11-29 17:45:58
问题 I opened the wrong version of my project in Xcode 5 and now Xcode 4.6 crashes when trying to open that project. I only changed one xib file in Xcode 5 and using Xcode 5 have opened the xib in IB and under Interface Builder Document, changed Opens in from Xcode 5.0 to Xcode 4.6. Any ideas why 4.6 crashes when opening the project? EDIT: I made a copy of the project folder and now, even though all of the files are in the old project folder, none of them show in xcode 4.6 or 5 when I open the

Xcode 5 crashes with SVN version 1.7 - self signed certificate

坚强是说给别人听的谎言 提交于 2019-11-29 16:01:52
I've updated to XCode 5 today (using the Mac AppStore) and ever since it keeps crashing whenever I open my previous projects (that are working copies of repos located in my local SVN). The error report contains infos (IDESourceControlCredentialsValidator) that indicate that XCode has some issues with my SVN: Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Application Specific Information: ProductBuildVersion: 5A1413 ASSERTION FAILURE in /SourceCache/DVTFoundation/DVTFoundation-3532/Framework/Classes/Protocols/DVTInvalidation.m:243 Details:

Xcode5: Apple's web service operation was not successful

末鹿安然 提交于 2019-11-29 15:36:40
it's return: 1、Apple's web service operation was not successful 2、Unable to authenticate the package:730904073.itmsp 3、ERRPR ITMS-9000:"This bundle is invalid.Apps that include an armv7s architecture are required to include an armv7 architecture."at SoftwareAsset/SoftwareAsset(MZItmspSoftwareAssetPackage) but my "Build Settings","Architectures"is"Standard architectures(including 64-bit)(armv7,armv7s,arm64)". And when I turn the "Architectures"to the "Standard architectures(armv7,armc7s)" it's same return. In the past three days,it aways return me this error. I really don't know what to do.