Search results for

Xcode

92,318 results found

Post

Replies

Boosts

Views

Activity

Multiple watch apps for single iOS app in OS 2?
I know it was not possible to have more than one Apple Watch app associated with a single iOS app in watchOS 1.0. Does anyone know if this is possible as of 2.0? I tried it and Xcode seems to allow me to create the multiple extensions, but simulators crash when I try to run. Would be great to hear from Apple on the official stance for this (I do have a very good usecase for it). Thanks!
2
0
1.1k
Jun ’15
Reply to Creating an IBOutlet or IBAction from a UIButton within a UITableViewCell subclass in a static UITableView
Have same problem here. But not only outlets don't connect. Assistant editor stops to work properly. I try to delete reference to my class and add it again. I try to delete drived data, clean project, restart xcode, restart OSX, restart computer, whole univers! That didn't works. Then i make another user and voila! It's start to work again! Outlets connects, assistant editor edits, univers spinning round'n'round. I decide that is files permissions problem an try to repair permissions for my current user. But that didn't works again. Is anybody else has this kind of problem? And solutions of cours!
Jun ’15
buttons and uipicker not visible on the view
I have create a new single view application and have added button and uipicker to the view howeve i cannot see the edges of the buttons and picker.Once I build and run the application i cannot see the uipicker on the iphone app. Please help and advise how to solve this issue.I using OS X Yosemite and XCode 6.3.2. Tried different iphone on the ios simulator but still not able to view correctly.
1
0
267
Jun ’15
swift 2 - Receiver "Some_Swift_Class" for class message is a forward declaration
I'm using xcode 7 and swift to write swift code and objective-c together. I I encounted Receiver Swift_Class for class message is a forward declarationSwiftCode.swift source file----------------------------------------class SwiftCode: NSObject { func someFunction() { }}Objective-CCode.m source file----------------------------------------.. SwiftCode *someSwiftCode = [ [SwiftCode alloc] init] <- failed hereDoes someone can help me, thanks in advance
4
0
4.6k
Jun ’15
fatal compiler error: PCH
First attempt building our code base in xCode7 for iOS -- getting a fatal error in the backend running ProcessPCH++. I've included the output below.Is there any further diagnostic details we can turn on to provide information? This is a LARGE codebase, and the chances of me being able to supply it to Apple as-is is zero.COMPILER ERROR==============fatal error: error in backend: Broken module found, compilation aborted!clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)Apple LLVM version 7.0.0 (clang-700.0.53)Target: arm-apple-darwin14.3.0Thread model: posixclang: note: diagnostic msg: PLEASE submit a bug report to http:/ and include the crash backtrace, preprocessed source, and associated run script.Command /Applications/Xcode_7.0-beta1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 11PCH CALL========ProcessPCH++ /Users/XXUSERXX/Library/Developer/Xcode/DerivedData/app-dkfbghqolkiziwhjwearcx
2
0
2.6k
Jun ’15
ErrorType protocol's hidden requirements
Both the documentation on ErrorType and the description given when you command-click on ErrorType in Xcode give ErrorType as:protocol ErrorType { }Which is, apparently, a lie. Attempting to add ErrorType to a struct's conformances gives does not conform to protocol 'ErrorType' errors.Inspecting any ErrorType using LLVM reveals that the ErrorType definition is really:protocol ErrorType { var _domain: String { get } var _code: Int { get } }Sure enough, if you implement these hidden methods, any type can conform to ErrorType.Bringing me to my questions...Why is this requirement not exposed for us to use normally? Are we required to limit ErrorType to Swift enums and NSError for now?Related question: since ErrorType can extract an Int tag from an arbitrary enum, is there any public way to do the same without going enum -> ErrorType -> NSError -> code?
3
0
1k
Jun ’15
Reply to No Photos OS X app extension?
Thanks for the reply...Personally I've been waiting since Aperture was dumped and Photos came as beta on a very early Yosemite release.That was about 6 months ago.In the meanwhile the majority of my clients are radically moving to Lightroom so is my business.Apple strategies are strange and their focus on selfies iPhone photographers simply puzzles me.Will see when and what they will share in Xcode but at this time I am not holding my breath.Professional photo editing is no longer an Apple objective, they rather focusing on a golden watch than a pro app, after all this is no longer Apple Computers.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to swift 2 - Receiver "Some_Swift_Class" for class message is a forward declaration
Those are the docs to read, but to make Swift code work within objC, it's the automatically generated Swift header he needs to import into the obj-c. It doesn't show up in the project anywhere, but Xcode creates it automatically.The name of that header will be the name of the product module (usually the project name) followed by -Swift.hSo if your product module is MyApp, the import would be#import MyApp-Swift.h
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
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