Search results for

xcode github

91,994 results found

Post

Replies

Boosts

Views

Activity

Spinner while submitting a Mac app
I created a new Mac application in iTunes Connect, built an app in Xcode, verified it (ok) and uploaded it from the Organizer tab (no problems). But:The icon never populated. As I understand it, iTC should get the icon from the app bundleWhen I go to the Prerelease tab, the build sometimes (but not always) has a yellow ! next to the build number. (The build has the correct icon next to it incidentally.)When I click the build number, I get a full-screen spinner that never seems to go anywhere. I tried this in both Safari and Chrome with the same result.This is the first time I've tried to submit a Mac app so this could well be a user error. That said, the sporadic appearance of the warning icon and the endless spinner leads me to suspect that ether iTC or my build are somehow suspect.Any hints at getting to the bottom of this?Thanks,Stephen
1
0
970
Jun ’15
Reply to App opens CoreData stores when launch via Xcode, but not when launched via Finder
It's definitely sandboxed---the core data files are being created, written to, and read from its Application Support folder in the sandbox Container. Does Xcode treat the sandbox differently when launching an application?Yes, Xcode and the OS have changed. I'll march backwards and see if I can figure out if one of those has made a difference. In other unrelated work I've found that the jump from Xcode 5 to 6 revealed a number of multithreading bugs, so I suppose this could be related.
Jun ’15
LaunchAgent as XPC server
I'm having trouble finding working examples of using the xpc.h (c lib) API. There are a number of examples showing NSXPC but I'm trying to use the xpc.h interface.I have a CUPS backend (Unix command line) program that needs to open a url in the user's browser. This is no longer allowed within a CUPS backed starting with Yosemite, so DTS advised that I look into building a Launch Agent (also Unix command line) which can open the url and then have the CUPS backend contact it via XPC.I tried using the following but it seg faults.https://eminisnp500.wordpress.com/2012/01/31/using-mac-os-xpc-service-with-launchd/Also, since launchd needs to run my XPC server, how does one go about debugging this? I didn't think I could start my XPC server from xcode because only launchd could bind the Mach service. Is there a preferred way to build/debug a LaunchAgent that hosts an XPC Mach service?Finally, do these programs need to be signed with my Developer ID (can you even sign command line programs)?ThanksWilliam
3
0
2.1k
Jun ’15
Reply to fox demo from wwdc2015 not working
Found this bit alsodyld: Symbol not found: _OBJC_CLASS_$_SCNAudioPlayer Referenced from: /Users/steve/Library/Developer/Xcode/DerivedData/Fox-bxsdkygmgcpzeleygbjwxmdxlwaq/Build/Products/Debug/Fox.app/Contents/MacOS/Fox Expected in: /System/Library/Frameworks/SceneKit.framework/Versions/A/SceneKitin /Users/steve/Library/Developer/Xcode/DerivedData/Fox-bxsdkygmgcpzeleygbjwxmdxlwaq/Build/Products/Debug/Fox.app/Contents/MacOS/Fox
Jun ’15
Reply to App opens CoreData stores when launch via Xcode, but not when launched via Finder
This is actually ridiculously easy to reproduce using Apple's template code for CoreData, with only a few lines of modification. I posted sample code on GitHub. If you build an run it, it will create 1000 empty sql stores. It builds and runs fine from within Xcode. Now go 'Archive' the application, then run it. Now it'll fail to load. You'll see the errors pile up in the console.This is a bug, right? Anybody see a way around this (short of using one store)?
Jun ’15
Anyone gotten coverage to work in xc7wwdc in a non-trivial app?
I can get code coverage results inside of xcode with a new toy project. When I try with an existing app with tests, the tests are run (I see output, breakpoints hit), but the coverage window in the report navigator says No Coverage Data and nothing shows in the source editor sidebars. The Gather Coverage Data box is ticked in the scheme.
2
0
835
Jun ’15
Troubleshooting the launch of local user XPC Launch Agent
This is a follow up to the thread, Troubleshooting the launch of local user XPC Launch Agent, in the original (and now archived) Dev Forums.Based on further tests, I assume there must be some configuration that I'm not setting up correctly, as opposed to the code.I started from scratch again with a fresh Xcode Project. This time, I based the code mostly on the example code posted by Apple Engineer eskimo1 in this thread (which uses an privileged Launch Daemon) with a modification or two based on the code posted by Apple Engineer dsorresso in this thread. As I assume that their code can be expected to work (i.e.- to help rule out a coding error on my part). Except that I modified the code so that it works with/as an XPC Service Launch Agent without the privileged aspect and which resides inside of the user's home directory.The following was all done on OS X 10.10.3 (14D136) Yosemite and built with Xcode 6.3.2 (6D2105).* I first st
10
0
8.3k
Jun ’15
OS X image editing action extension has no affect in Mail.app
I'm working on action extension for OS X that edits single image.Everything works well in TextEdit.app. But image changes has no affect in Mail.app. I'm using this code to return edited image back to host app:- (IBAction)done:(id)sender { NSExtensionItem *outputItem = [[NSExtensionItem alloc] init]; outputItem.attachments = @[self.imageView.image]; NSArray *outputItems = @[outputItem]; [self.extensionContext completeRequestReturningItems:outputItems completionHandler:nil]; }In extension and in Xcode I can see that image is changing. But after [self.extensionContext completeRequestReturningItems:outputItems completionHandler:nil] nothing happens in Mail.app.Here's project:https://github.com/derpoliuk/TestExtensionApp/I created bug report: rdar://21358060I saw that other apps are editing photo in Mail.app (for example Pixelmator - http://www.idownloadblog.com/2015/04/21/pixelmator-repair-tool-extension-mac/). So there's should be something that I'm doing wrong.Any help would be really
Topic: UI Frameworks SubTopic: AppKit Tags:
3
0
460
Jun ’15
Reply to Documentation for Xcode UI Testing?
Only what I've seen in the https://developer.apple.com/xcode7-beta-release-notesUI TestingUser interface testing and recording. Test applications at the user interface surface with elements, queries, and simulated events. The UI recording feature enables capture of UI actions into source to facilitate creating tests.Xcode 7 introduces UI testing as a major new feature of the existing XCTest framework. UI testing is implemented as an extension to the existing APIs and concepts in XCTest, making it easy to adopt for developers who have familiarity with Xcode’s testing features. (10975541)Code coverage does not work with UI testing.UI testing cannot identify elements using information from their accessibility title element. (20409319) Workaround: Set an accessibility identifier instead.UI testing may fail to find elements with names containing decomposable Unicode characters. (20804391)Workaround: Use NSPredicate to explicitly match against key paths including precomposedStringWithCanonicalMapp
Jun ’15