Search results for

xcode github

94,046 results found

Post

Replies

Boosts

Views

Activity

Moving the position of an SKCameraNode
I'm new to SpriteKit, and I'm trying the new SKCameraNode, and I want to move the camera around the sceneIf I try to run an SKAction, the camera won't move:CGPoint newPosition = CGPointMake(..., ...); SKAction *action = [SKAction moveTo:newPosition duration:kTimeInterval]; [cameraNode runAction:action];I've tried running that same SKAction on another node (SKShapeNode), and that node moves fine.I've also tried to change the position property of the SKCameraNode directly, and it works, but it's not as smooth as I'd like it to be:CGPoint newPosition = CGPointMake(..., ...); cameraNode.position = newPosition;What's the correct way to move an SKCameraNode?This is running against Xcode Version 7.0 beta (7A120f) on an iPhone 5s (9.0 - 13A4254v)
1
0
2.3k
Jun ’15
Test code coverage generation on iOS 8.2 device?
I'm trying to grab and view code coverage withXcode 7 beta and iOS 9 SDKiOS 8.2 deviceSceme set to gather coverage data for 'Test'Set Yes to Generate Debug Symbols, Generate Test Coverage Files, and Use Optimization Profile in Build Settings for the Test Target of my sample app.If I run Unit Tests, not UI Tests that supported only from iOS 9, and get the following error from Xcode console:dyld: could not load inserted library '/private/var/mobile/Containers/Data/Application/7A78583D-E542-48B4-8DD6-F9A061FCE1E6/tmp/IDEBundleInjection.framework/IDEBundleInjection' because no suitable image found. Did find: /private/var/mobile/Containers/Data/Application/7A78583D-E542-48B4-8DD6-F9A061FCE1E6/tmp/IDEBundleInjection.framework/IDEBundleInjection: mmap() error 1 at address=0x1000A8000, size=0x00008000 segment=__TEXT in Segment::map() mapping /private/var/mobile/Containers/Data/Application/7A78583D-E542-48B4-8DD6-F9A061FCE1E6/tmp/IDEBundleInjection.framework/IDEBundleInjection*** Test operation was canceled.
4
0
1.5k
Jun ’15
Xcode Server Sigining Product
I am not being able to sign my Product. It stucks in step 6 when running my continuous integration. Actually there is also another weird thing happenning.In OS X Server Xcode preferences pane I added my developer account to enable Xcode Server sign my .ipa file. But in OS X Server Logs I saw something like thisJun 15 10:26:05 blabla.com.tr xcscontrol[961]: DeveloperPortal: Completed request 8331BF8B-EA0B-4C99-987F-8F3E9ECCED62 (failure): { DTDK_Platform = ios; creationTimestamp = 2015-06-15T07:23:44Z; httpCode = 200; protocolVersion = QH65B2; requestId = 8331BF8B-EA0B-4C99-987F-8F3E9ECCED62; requestUrl = https://developerservices1.apple.com/services/QH65B2/ios/downloadTeamProvisioningProfile.action; responseId = 5544ef83-0af3-441f-acf7-ea931331f3a5; resultCode = 3170; resultString = No team member found for teamId 'TEAMID_XXXX' and teamClientUid 'CLIENTUID_XXX'; teamId = TEAMID_XXXX; userLocale = en_US; userString = Unable to find a team with the given Team ID 'XXX.XXX.XXX' to which you belo
9
0
3.2k
Jun ’15
Reply to Problem with Overlapped Textures and Transparent Pixels
Appreciate the link, and I do understand that the textures are packed together as tightly as possible to make an efficient atlas. However... in previous versions of xcode even though the atlas didn't show the transparent pixels, it was keeping track of the size properly and would return the images back to you exactly as they were before they were put into the atlas (including transparent portions). As I mentioned above I find it strange that when I ask for the size it says 14x14 (not 12x12) but it's rendering at 12x12. Frustrating. I'm hoping it's just a bug like the many other issues I'm running into (ex: generating a physics body from a texture apparently creates garbage). Appreciate the response(s)!
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
UITableView and UITableViewCell never deallocated after rows animation - iOS 8 bug?
It seems that UITableView method of deleteRowsAtIndexPaths:withRowAnimation: causes memory leaks since the deleted cells are never been deallocated.I found a similar bug which was previously handled and fixed by Apple (fixed in 7.0.3). Could it be the same bug appearing again in iOS 8?Following is more info on this bug:Stackoverflow: http://stackoverflow.com/questions/18919870/ios-7-0-and-arc-uitableview-never-deallocated-after-rows-animationRadar: http://www.openradar.me/radar?id=5725612312363008I downloaded the sample project from github and tested with my devices. Here are my results:- iOS 7.1.2 - Could not reproduce the issue (indeed fixed on 7.0.3)- iOS 8.1.2 - Issue reproduced- iOS 8.3 (latest version by this time) - Issue reproducedCan anyone confirm this issue?
2
0
969
Jun ’15
Paired Watch not appearing in Xcode
I managed to install watchOS 2 without having registered my Watch's UDID, but as it's part of the instructions for installing watchOS betas I thought I'd better do it now in case beta 2 bricks my Watch or something.However, the Watch isn't appearing in Xcode. I've tried both the latest public release and Xcode 7 beta, but there's no paired devices section under my iPhone when I connect it to Xcode and look in the Devices window.
8
0
11k
Jun ’15
Reply to Where is Content Blocker Extensions documentation?
I spent a lot of time trying to make it work (after seeing the session, reading and re-reading the blog post several times, etc.), here's what finally did it for me:Ran the app containing the extension (it was just a blank iOS app template).Ran the extensionStopped the extension in XcodeWent into Safari Content Blocker settings and toggled the extension on/offBack to Safari, reloaded the page. Works!So far I verified that image blocking with url-filer and if-domain matching works, have yet to try more complex rules.Does not look like you can currently debug the extension in Xcode or see log output 😟
Topic: Safari & Web SubTopic: General Tags:
Jun ’15
IBInspectable not working in storyboard
I am using the swift extension. extension UIView { @IBInspectable var cornerRadius: CGFloat { get { return layer.cornerRadius } set { layer.cornerRadius = newValue layer.masksToBounds = newValue > 0 } } }Which is cookie cutter from several examples regarding @IBInspectable. However, when I use this in my project, the storyboard does not update while viewing in xcode, as in the link belowhttp://i.stack.imgur.com/r70IK.pngWhen compiling and running however, it does show the rounded corners. This is using xcode 6.3.2If anyone has any suggestions, it would be very very much appreciated. The project is here. github.com/captainchung/test
2
0
4.3k
Jun ’15
Custom Keyboard Crash
Hello,I made a custom keyboard. Everything works fine except of two things:(I am using Xcode 7 and am testing the app on my iPhone 5.)1. When I turn the device from portrait to landscape or the other way roundsometimes it does not change the formation and crashs.I wonder why this happens only sometimes and not every time the first time.2. When my phone is not connected to Xcode it does not work likewhen it is connected to the computer.It crashs when I was not in the app for around 5-10 seconds and I openit again then.It does not pop up again and a restart is necessary.
Topic: UI Frameworks SubTopic: UIKit Tags:
2
0
447
Jun ’15