Search results for

build disappears

49,245 results found

Post

Replies

Boosts

Views

Activity

Error trying to build watchOS 2 app in Xcode 7
Extension error:target specifies product type 'com.apple.product-type.watchkit2-extension', but there's no such product type for the 'iphonesimulator' platformMy watch app also has this error:Xcode/DerivedData/AnxietyTracker-aabqxayllohhlydulhldvvzxqkzv/Build/Products/Debug-watchsimulator/AnxietyTracker WatchKit Extension.appex: No such file or directoryAnyone have any suggestions or insight?
8
0
14k
Jun ’15
Cannot run on device with minimum deployment target error
Hi,I recently upgraded to Xcode Version 6.3.2 (6D2105). I have 2 devices:* iPad Mini 1st generation* iPad AirBoth devices are at iOS 8.1.3. After the Xcode update, I set the iOS Deployment Target to 8.0. I can now deploy and then run/debug fine on the iPad Mini. On the iPad Air, I can select the device in Xcode and build/install an app to it, however when I try to run/debug, I get the following error:DeviceXXX runs iOS 8.1.3, which is lower than AppNameXXX's minimum deployment target. Change your project's minimum deployment target or upgrade DeviceXXX's version of iOS.This doesn't make sense to me, as I set the deployment target to 8, and that allowed me to run fine on the iPad Mini. I'm wondering if there's some cached data in Xcode that needs to be cleared out, but I've tried restarting Xcode, the iPad Air, and the computer, and I'm still experiencing the same behavior. Any ideas? Thanks in advance.
0
0
809
Jun ’15
Reference class / struct in a Playground page Xcode 7 Beta 1
Hello everyone! I'm loving the new Playground pages feature! The only issue I found so far is that - apparently - I cannot refer to anything declared in another page. Shared sources are all right, but wouldn't work for what I'm trying to do: I want to explain a topic in one page and build on top of that in the following page.For example, assume you're teaching Algorithms, you might want to have a page that explains Queues and Stacks. In another page you might want to explain the BFS algorithm to traverse trees and graphs. To implement BFS you need a Queue and of course you'd like to reuse the implementation you wrote in the previous page. As far as I can see playing with the first beta of Xcode 7 (7A120f), this isn't currently possible. It seems that every page is a self-standing playground and they just happen to be bundled together.Am I right or is there a way to reference classes, structs, etc. from one Playground page in another page in the same Playground? If not, is it a feature we can expect b
3
0
1.6k
Jun ’15
Reply to IOPCIMatch
How does the system die? Is that at boot time? Or when you load the driver? Debugging boot time problems can be tricky but if you're just having problems at load time the process is pretty straightforward: start with an empty shell of a driver, get that working, then build on things from there.Share and Enjoy--Quinn The Eskimo!Apple Developer Relations, Developer Technical Support, Core OS/Hardware
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
dependency injection and protocols
I had a posting in the older forums about this issue. I never really found a solution. Maybe I can try posting again and see if anyone has some good advice.I am a big fan of TDD. One of the techniques I picked up was dependency-injection. Objective-C is a very laid-back language when it comes to type-checking. It is very easy for the compiler to let you swap a test-double class for a production class. I am having a problem in Swift that you might be able to help with.class ChildClass { } class ParentClass { func child() -> ChildClass { return ChildClass() } } protocol ChildProtocol { } extension ChildClass: ChildProtocol { } protocol ParentProtocol { func child() -> ChildProtocol } extension ParentClass: ParentProtocol { }This code is failing to build. Swift does not believe that ParentClass can conform to ParentProtocol. This is a contrived example. I will show you a real example where I would use this pattern in a real app.import Foundation protocol SessionTaskType { } extension NSURLSessionD
5
0
1.5k
Jun ’15
Reply to TARGET_OS_IOS in WatchKit Extension
For WatchKit 1 extensions, TARGET_OS_IOS returns true because the extension is compiled for, and runs on, the iPhone. You're best option is to define a custom macro in the build settings for the WatchKit extension and conditionally compile based on that:#ifndef MY_MACRO_THATS_ONLY_DEFINED_FOR_THE_WATCHKIT_EXTENSION ... #endif
Topic: App & System Services SubTopic: General Tags:
Jun ’15
Reply to Support iOS 8 while using Stacked Views?
Just don't use stack views until you're ready to drop iOS 8 support. If you want you're interface to look close to the same on both iOS versions then you're going to have to build said interface without a stack view for one of those iOS versions. Why create more work for yourself by maintaining two copies of your interface?
Jun ’15
xcode 7 beta simulator crashes on start
I am having a 100% failure trying to open the Simulator in xcode 7 beta. Either when I try to run an app or open the simulator from Open developer tool, it immediately crashes with this message:Process: Simulator [9467]Path: /Applications/Xcode-beta.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/SimulatorIdentifier: com.apple.iphonesimulatorVersion: 9.0 (602)Build Info: Indigo-602000000000000~29Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Simulator [9467]User ID: 501Date/Time: 2015-06-15 20:33:46.294 -0700OS Version: Mac OS X 10.10.3 (14D136)Report Version: 11Anonymous UUID: 015164CE-38DB-27C6-9EF3-447DD92F2AB7Time Awake Since Boot: 2200 secondsCrashed Thread: 0Exception Type: EXC_BREAKPOINT (SIGTRAP)Exception Codes: 0x0000000000000002, 0x0000000000000000Application Specific Information:dyld: launch, loading dependent librariesDYLD_INSERT_LIBRARIES=/usr/lib/libignitor2.dylibDyld Error Message: could not load inserted library '/usr/lib/libignitor2.dylib' because no s
3
0
754
Jun ’15
watchOS 2 watch app with IOS 8 Support
If I have an app that already support watchOS 1, and then make an update to support iOS 8 and iOS 9 and watchOS 2 upon release. What happens to the users who have my app running on iOS 8 and watchOS 1 but update the app to the new version? Will the watch app still function as it previously did? Will it disappear from the watch until the user upgrades to iOS 9? Or do I need to create a watch app that supports iOS 8 and a watch app that supports iOS 9?
3
0
1.1k
Jun ’15
Xcode Beta 7
Hi,While building app using xcode 7 beta for testing the device, it was asked code signing certificate fix then after entring our apple ID and password running few seconds and stops and we got the mail from Apple “Your iOS Development certificate has been revoked” “You have revoked your certificate, so it is no longer valid”1) Will it my internal App builded with exsting provisional profile will work & continue?2) Is there any specific reason for happen in xcode beta7?Thanks,Murugesh
0
0
447
Jun ’15