Search results for

build disappears

49,244 results found

Post

Replies

Boosts

Views

Activity

Reply to WPA 2 Enterprise wireless not working?
Pointed here by @cjacksonsq - seeing the same. We're getting SSLHandshake failed and EAP-TLS:authentication failed errors in logs. I've got a bug in with Apple and have sent additional logs they requested.Also: we're seeing this on latest 10.10.4 build as well. Which is much more dire since it'll be out sooner, and available as an auto-update to most.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
IOS App Install Fail Over The Air
Hi, I'm using Xcode6 and created a test app for ipad. It compiles and runs fine in simulator. My next step is to distribute it using adhoc distribution mechanism. Here is what I've done1. Using Keychain Access to create a public/private key pair.2. Load it up into Developer Center to create a certificate, then download it.3. Add my ipad UUID under Devices.4. Create a adhoc provisioning profile by including my ipad in it, I only have one device in Member Center. Let's call the provision MyProv.5. Run the .cer file by double clicking it.6. Download the .mobileprovision file from Member Center to desktop. Then double click it.Now, in Xcode, under Build Setting, I change Provisioning Profile Debug and Release entry to point to MyProv, then run Product->Archive. When archiving the app, Xcode as me if I want to use my key created in step 1 above to sign the bundle. I allow it. I also choose to Save for ad hoc distribution when asked. In the summary page, I can see the Provisioning Profile column shows '
2
0
1.7k
Jun ’15
Command Line Tool - Can't link to custom Swift Framework
With OS X Yosemite and Xcode 6, it was not possible to build a Swift command line tool that link to my own made or third party Swift Frameworks.Chris Lattner well explained in June 2014 to the community that we have to wait for ABI to reach the required level of stability, and because subject to change, the Swift libraries must be embedded in each app. Since a a Command Line Tool is not a bundle, we can't embed binaries.Fast forward today June 2015 we have OS X El Capitan beta, Xcode 7 beta and Swift 2.0.Under Yosemite, using Xcode 7 I recompiled my stuff to Swift 2.0 but I still can't link my Command Line Tool to the Swift Framework.Is someone have do similar build with success ? Do I need to build and run my Coammand Line Tool under El Capitan ?If its still not possible, I would like to know when the Swift ABI is planned for enough satbility and sytem level availabilty ?Thanks,Datagram
5
0
2.4k
Jun ’15
Glance Lifecycle / Getting data from iPhone
Hi all,I am working on my first watch project and am having a bit of trouble getting my glance to display the required data at the required time.Basically, I have a string that I need to get from my iPhone app and display in my glance on the watch. The string is constructed during my app delegate's didFinishLaunchingWithOptions. I am calling sendMessageToParentAppWithString in my GlanceController.swift's willActivate and awakeWithContext methods. I have implemented handleWatchKitExtensionRequest in my app delegate but I cannot for the life of me get my glance to be displayed with the IBOutlet label displaying the correct string.I believe it is a lifecycle thing that I am misunderstanding as the label immediately displays the correct string the instant that I launch the iPhone app so I know that everything is wired up correctly, so to speak. The string from the iPhone app's delegate is being delivered via the sendMessageToParentAppWithString / handleWatchKitExtensionRequest mechanism and displayed in the corre
0
0
332
Jun ’15
How do I link against .tbd files in Xcode 7?
I need to link libz in my project. Normally I would add libz.dylib under the Linked Frameworks and Libraries settings, but now there are only .tbd files and no .dylib files when you search the list of libraries to add. When building I get a warning: skipping file '/Users/me/xcode7/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/usr/lib/libz.tbd' (unexpected file type 'text' in Frameworks & Libraries build phase)Then I build fails with linker errors because of missing symbols. Am I missing something new in the way libraries are linked?
29
0
104k
Jun ’15
Reply to Battery Use Worse
I expected an increase of iPhone battery usage, but not at this level. 100% at 6:00 PM, 61% at 8:00 PM. There has been no physical interaction, on my part, with the two devices (iPhone 6 and Apple Watch) during this period. This is terrible, even for a Beta release. iOS 9 is Alpha at best!I hope there is a point release in the very near future. I cannot build and compile that fast!
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Compiler crash
Has anyone else seen anything like this?Assertion failed: (D->getSourceRange().isValid()), function buildDeclarationRefinementContext, file /Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-700.0.38.1/src/swift/lib/Sema/TypeChecker.cpp, line 946. 0 swift 0x0000000109a08e0b llvm::sys::PrintStackTrace(__sFILE*) + 43 1 swift 0x0000000109a0954b SignalHandler(int) + 379 2 libsystem_platform.dylib 0x00007fff8b16cf1a _sigtramp + 26 3 libsystem_platform.dylib 000000000000000000 _sigtramp + 1961439488 4 libsystem_c.dylib 0x00007fff96a5bb53 abort + 129 5 libsystem_c.dylib 0x00007fff96a23c39 basename + 0 6 swift 0x000000010806de92 (anonymous namespace)::TypeRefinementContextBuilder::walkToDeclPre(swift::Decl*) + 1058 7 swift 0x000000010813cf5d (anonymous namespace)::Traversal::doIt(swift::Decl*) + 157 8 swift 0x0000000108141244 (anonymous namespace)::Traversal::visitNominalTypeDecl(swift::NominalTypeDecl*) + 164 9 swift 0x000000010813cfb2 (anonymous namespace)::Traversal::doIt(swift::Decl*) + 242 10 swift 0x0
8
0
1.4k
Jun ’15
Reply to Xcode 7.0 Beta Throwing Heaps of Errors, update OS X?
The first step is probably to go to the Product menu in your project in Xcode and hold down the option key and choose Clean Build Folder..., to make sure there isn't any previously compiled code causing problems because of incompatibility.I don't think upgrading OS X to the El Capitan would improve anything for you, since a lot of us are just running Xcode 7 beta on Yosemite.If you haven't already backed up your project, you might want to do that before updating the code further, just in case you end up deciding to go back and wait.Assuming there isn't isn't anything really weird going on with your project, you would just need to work your way through it fixing the errors and warnings generated by the compiler. There can be a lot of new errors and warnings because of the changes between Swift 1.2 and 2 and the updates to Cocoa, but most of the errors and warnings should be relatively trivial to fix (changing var to let, updating the old generic sort/map/filter/find functions to be called as methods,
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to Can't fetch JSON due to NSInvalidArgumentException
I failed to catch the error. First let me show you the tweaked code:NSURLSessionDataTask *dataTask = [[NSURLSession sharedSession] dataTaskWithURL:theURL completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) { if (!error) { _downloadedData = [[NSMutableData alloc] init]; [_downloadedData appendData:data]; } else NSLog(@%@, error); }]; [dataTask resume];If I set a breakpoint in line 03, I'm not able to read the error variable because the debugger immediately jumps in my main.m which looks like this:int main(int argc, char * argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); } }In the main.m the program terminates in line 03. Do you have a clue what's the reason for this weird behavior? Did I make a mistake building the NSURLSessionDataTask? Thanks in advance,Alex
Jun ’15
Reply to Turn on WiFi Programatically and latch to a known SSID
If your application absolutely needs WiFi, there's a build flag that you can set which will ensure that wifi is running for your application.And the CaptiveNetworking functions are provided so that Developers can do things like custom authentication with various wifi networks. Generally, CaptiveNetwork comes into play after the user has chosen that network, it's not really a way to force the user onto that network.Otherwise, no, your Turn on WiFi and latch the phone to a known SSID is a device management function. You can't do that from a Developer written application directly. The best you can do is do that indirectly, through the use of device management profiles, or MDM software.But all that requires the owner of the device to give up control of the device. In other words, Your users only happens if you happen to be the administrator for the device, not if you're just someone that wrote an application that the user happened to install on the device.
Jun ’15
Icon badge numbers disappearing
I have an app that until a few months ago used Game Center for turn-based multiplayer functionality. It now uses a custom-built server instead, and I have turned off Game Center for the last versions of the app in iTunes Connect. However, each time I start some other app that does use Game Center, the system removes whatever badge number I have on my icon. As if my app was still Game Center enabled and had no current matches where there was my turn to act.Is there any way to turn of this lingering Game Center behavior? It ruins the user experience. Or do I need to register a completely new app just to get away from Game Center?
1
0
247
Jun ’15
Best practice for setting CFBundleVersion automatically
With the newest releases of iOS and iTunesConnect, Apple is more and more restrictive about what´s happening in your CFBundleVersion of your Extensions.I tried to fiddle around with Run Script Build Phases, such as this:#!/bin/sh INFOPLIST_EXT=${TARGET_BUILD_DIR}/${INFOPLIST_PATH} echo Extension writing to $INFOPLIST_EXT PLISTCMD=Set :CFBundleVersion $(git rev-list --all|wc -l) echo -n $INFOPLIST_EXT | xargs -0 /usr/libexec/PlistBuddy -c $PLISTCMDHowever, this seems to work for some types of Extensions (WatchKit), but for some others it doesn´t (Today Widget). In my cases, I seem to access the $TARGET_BUILD_DIR before there´s content in it. Using $BUILT_PRODUCTS_DIR delivers the same error.Extension writing to /Users/marc/Library/Developer/Xcode/DerivedData/MyApp-focpnqzzpnqsfyaqwwocwpujmhmh/Build/Intermediates/ArchiveIntermediates/MyApp/IntermediateBuildFilesPath/UninstalledProducts/TopNewsWidget.appex/Info.plist Set: Entry, :CFBundleVersion, Does Not Exist File Doesn't Exist, Will Create:
6
0
7.2k
Jun ’15