|
I've been having some issues lately trying to update Xcode through the appstore. The download will get up to 40-60% and then it just fails and I'm not sure why. Anyone had to deal with this and have any idea how I might fix it?
|
# ? Apr 25, 2014 15:17 |
|
|
# ? Jun 8, 2024 09:58 |
|
Faldoncow posted:I've been having some issues lately trying to update Xcode through the appstore. The download will get up to 40-60% and then it just fails and I'm not sure why. Anyone had to deal with this and have any idea how I might fix it? Restart your computer. Find the cached partial download and delete it. Download the full SDK from the developer center.
|
# ? Apr 25, 2014 15:36 |
|
I much prefer to download the .dmg through the Downloads section. Just click 'Looking for an older version of Xcode?' and grab it from there.
|
# ? Apr 25, 2014 15:37 |
|
I had the bright idea to include short videos for the Help section of my app. Also I like crushing my balls in a clamp. Can anyone recommend a filetype / container / codec that a) is small and b) doesn't suck? I am clueless in Premiere when I go to export and have 10,000 export options. edit: yay for google this is okay lord funk fucked around with this message at 18:48 on Apr 25, 2014 |
# ? Apr 25, 2014 18:04 |
|
AppCode 3 EAP is open. Complete with an interface builder and even cooler test suite.
|
# ? Apr 25, 2014 18:13 |
|
lord funk posted:I had the bright idea to include short videos for the Help section of my app. Also I like crushing my balls in a clamp. Handbrake is actually pretty decent for transcoding. I find the options reasonable.
|
# ? Apr 25, 2014 19:16 |
|
Doctor w-rw-rw- posted:Handbrake is actually pretty decent for transcoding. I find the options reasonable. Yep, way smaller files. Which I need because : edit: down to 67.6MB. Still fat, but much leaner than before. lord funk fucked around with this message at 23:06 on Apr 27, 2014 |
# ? Apr 27, 2014 20:45 |
|
My totally unoriginal idea that I completely ripped off from Mike Walker because every time I have to use CF apis I forget which __bridge I need: http://fuckingbridgedcastsyntax.com Please tell me if I messed anything up, lest I embarrass myself in front of the internet.
|
# ? Apr 28, 2014 04:12 |
Hi again iOS thread! I'm doing an app where I'm trying to play a certain sound file every time a certain tile is tapped. My code for this section is down below, and the line that's giving me trouble is the fourth line from the top: code:
code:
[code] return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));[/code And this is the green highlighted message I get: Thread 1:signal SIGABRT I've spent like five hours trying to figure this out, I'm getting better at this whole coding thing, but I'm glad there's goons that know these things way better than me!
|
|
# ? Apr 28, 2014 06:54 |
|
Shouldn't it beObjective-C code:
Otherwise you're passing secondObject itself, which I'm assuming isn't an NSString.
|
# ? Apr 28, 2014 08:32 |
|
Is buttonId an NSArray?
|
# ? Apr 28, 2014 08:54 |
|
Step 1 is to add a global breakpoint to the project that fires when an exception is thrown; that should tell you the exact line the error is coming from rather than bubbling up to main.
|
# ? Apr 28, 2014 13:50 |
|
I have couple of really odd questions regarding push notifications. Due to server error (I can't modify the server) push notes get sent out to devices that shouldn't be receiving them. I can use the information in the push notification to find out if it should be displayed or not. Is it possible to selectively suppress certain push notifications? (I suspect the answer is no, but just in case) Is it possible to access all push notifications for given app that are currently on the device? I want it so if the app is opened from the icon instead of the push note I can process and consume all the push notifications manually. I'm not too worried if it requires undocumented functionality as this is only a stop gap measure for something that's not going to be publicly released for a while. Where it should hopefully be fixed. (Again I suspect the answer is no but this one is more likely)
|
# ? Apr 28, 2014 16:51 |
|
Meridian Rizing posted:Due to server error (I can't modify the server) push notes get sent out to devices that shouldn't be receiving them. I can use the information in the push notification to find out if it should be displayed or not. Is it possible to selectively suppress certain push notifications? (I suspect the answer is no, but just in case) Meridian Rizing posted:Is it possible to access all push notifications for given app that are currently on the device? I want it so if the app is opened from the icon instead of the push note I can process and consume all the push notifications manually. I'm not too worried if it requires undocumented functionality as this is only a stop gap measure for something that's not going to be publicly released for a while. Where it should hopefully be fixed. (Again I suspect the answer is no but this one is more likely) You should be able to access all local notifications via code:
|
# ? Apr 28, 2014 17:13 |
Doc Block posted:Shouldn't it be Thanks, I did this, but unfortunately I still got the same thread signal. Echo Video posted:Is buttonId an NSArray? NSMutableArray haveblue posted:Step 1 is to add a global breakpoint to the project that fires when an exception is thrown; that should tell you the exact line the error is coming from rather than bubbling up to main. Cool I'll look up how to do this and then hopefully come back later tonight with more info, thanks
|
|
# ? Apr 28, 2014 18:38 |
|
HookShot posted:Cool I'll look up how to do this and then hopefully come back later tonight with more info, thanks Add the breakpoint like this:
|
# ? Apr 28, 2014 18:41 |
|
Oh god do you not use a dark theme for coding? Heathen.
|
# ? Apr 28, 2014 18:50 |
|
Doh004 posted:Oh god do you not use a dark theme for coding? It's gross. If the whole UI changed I'd probably switch, but the sidebars stay bright and the contrast is horrible.
|
# ? Apr 28, 2014 19:05 |
|
https://code.facebook.com/posts/234067533455773/introducing-pop-the-animation-engine-behind-paper/ Now open-source.
|
# ? Apr 28, 2014 19:14 |
|
Doh004 posted:Not to my knowledge, no. Unless the app is currently active, you won't be able to respond to the notification. I could be wrong though as I've only just started handling push notifications for our app. This didn't work. I've have several push notes but array is empty each time. Do push notes and local notes work of the same system? I thought that they didn't.
|
# ? Apr 28, 2014 19:22 |
|
Meridian Rizing posted:This didn't work. I've have several push notes but array is empty each time. Do push notes and local notes work of the same system? I thought that they didn't. Sorry you're correct, you cannot do that. I don't believe your app has knowledge of all of its push notifications, just the one that it was opened with.
|
# ? Apr 28, 2014 19:42 |
|
Doctor w-rw-rw- posted:https://code.facebook.com/posts/234067533455773/introducing-pop-the-animation-engine-behind-paper/
|
# ? Apr 28, 2014 20:03 |
|
Intel Clang-based C++ Compiler, a new C++ compiler for OS X. If I'm reading this correctly, this should allow icc-like compiler performance with native OS X tools (Xcode, etc.). I'm curious to see what sort of performance gains this nets, but presumably they must be decent for Intel to go to this effort. I wonder if Apple pushed them on this at all.
|
# ? Apr 29, 2014 02:58 |
lord funk posted:Add the breakpoint like this: Thank you so much, I did this and then figured out what line the problem was in, and it turns out I had screwed up some file names and managed to solve the problem because of this. Thanks again
|
|
# ? Apr 29, 2014 03:33 |
|
How the gently caress do I make interface builder give me outlets as (nonatomic, weak) instead of (weak, nonatomic)
|
# ? Apr 29, 2014 03:57 |
|
Star War Sex Parrot posted:I wonder if Apple pushed them on this at all.
|
# ? Apr 29, 2014 04:02 |
|
status posted:How the gently caress do I make interface builder give me outlets as (nonatomic, weak) instead of (weak, nonatomic) nonatomic is probably the least interesting part of any given property declaration, why shouldn't it go last? For a possibly helpful answer, see if you can use clang-format or uncrustify or something to fix it up for you and run it before commits.
|
# ? Apr 29, 2014 04:21 |
|
pokeyman posted:nonatomic is probably the least interesting part of any given property declaration, why shouldn't it go last? Perhaps we'll get -fobjc-nonatomic-properties someday.
|
# ? Apr 29, 2014 04:44 |
|
Ender.uNF posted:Perhaps we'll get -fobjc-nonatomic-properties someday. You won't. We do not generally want to add compiler flags that subtly change the interpretation of the language. The existing dimensions of that (e.g. with -fobjc-arc) are bad enough.
|
# ? Apr 29, 2014 05:53 |
|
status posted:How the gently caress do I make interface builder give me outlets as (nonatomic, weak) instead of (weak, nonatomic) You probably don't. Apple guidelines are for it to be (weak, nonatomic) I just embraced it internally when it did that after running the ARC converter on all of our MRC code.
|
# ? Apr 29, 2014 14:36 |
|
pokeyman posted:nonatomic is probably the least interesting part of any given property declaration, why shouldn't it go last? I prefer nonatomic first because it keeps everything inline since nearly every single property is (nonatomic, foo). Alas I've learned to give in as well.
|
# ? Apr 29, 2014 14:47 |
|
I always change it. Not only do I do that, but I often separate my properties into logical sections, within which I alphabetize them. The rationale being that I rarely have merge conflict issues that are difficult to resolve, since I also strictly organize my methods into logical sections as well.
|
# ? Apr 29, 2014 18:05 |
|
Heads up, apple seems to be auto rejecting apps that are improperly using ad identifiers. If you use advertisingIdentifier you must also use advertisingTrackingEnabled even if you are using it for one of the approved non-ad purposes and especially if you are using it for ad purposes. Now we have to wait while vendors/3rd parties update libraries. Some affected libraries: Facebook (on github so we can patch) ComScore Google admob Kallikrates fucked around with this message at 14:21 on Apr 30, 2014 |
# ? Apr 30, 2014 14:14 |
|
Kallikrates posted:Heads up, apple seems to be auto rejecting apps that are improperly using ad identifiers. Do you have an example for the Facebook case? The SDK team is asking for them. From the SDK team: quote:we grab advertisingTrackingEnabled; always have. definitely would like more detail on what they think they need to patch. Edit edit: there's definitely something going on here, some recent change to how Apple handles IDFA. Team is looking at it, though they're also crazy with F8 today. Subjunctive fucked around with this message at 17:53 on Apr 30, 2014 |
# ? Apr 30, 2014 17:12 |
|
Subjunctive posted:Edit edit: there's definitely something going on here, some recent change to how Apple handles IDFA. Team is looking at it, though they're also crazy with F8 today. Thats what I'm talking about, seems Apple recently turned on some automated tool that might not be that great. They are just invalidating binaries.
|
# ? Apr 30, 2014 18:12 |
|
Kallikrates posted:Thats what I'm talking about, seems Apple recently turned on some automated tool that might not be that great. They are just invalidating binaries. We haven't found any cases where our SDK was the cause; we definitely already grab tracking. Do you have a developer I could ping about them getting bounced until they changed something in the SDK? https://github.com/facebook/facebook-ios-sdk/blob/7fe08877ea773dc35a5e4d6d9d305fae57c513b6/src/Core/FBUtility.m#L353 There may also be a checkbox or something the dev needs to select at upload about their use of IDFA, but I'm not certain.
|
# ? Apr 30, 2014 18:15 |
|
Subjunctive posted:We haven't found any cases where our SDK was the cause; we definitely already grab tracking. Do you have a developer I could ping about them getting bounced until they changed something in the SDK? Well iirc our rejection basically came after the binary was invalidated for misuse of "advertisingTrackingEnabled". A grep of the code base gave the above results from 3rd party libraries (we don't use advertisingTracking) so I think there is a chance it's not facebook's fault, it could be the other two but the message from apple is just a smack on the wrist it's up to us to figure out the cause.
|
# ? Apr 30, 2014 18:25 |
|
Kallikrates posted:Well iirc our rejection basically came after the binary was invalidated for misuse of "advertisingTrackingEnabled". A grep of the code base gave the above results from 3rd party libraries (we don't use advertisingTracking) so I think there is a chance it's not facebook's fault, it could be the other two but the message from apple is just a smack on the wrist it's up to us to figure out the cause. Ah, AdMob definitely had to update their stuff because of this. That makes sense.
|
# ? Apr 30, 2014 18:29 |
|
Keep an eye out for Scott's talk at f8 today: https://f8.facebooklive.com/ 3:45-4:30. EDIT:Okay, it's actually mostly a summary of the Paper Tech Talks, plus an announcement that the Display Node library will be made open-source after a closed beta period. Some history of Paper as well. Subjunctive, do I know you? Doctor w-rw-rw- fucked around with this message at 00:50 on May 1, 2014 |
# ? Apr 30, 2014 18:43 |
|
|
# ? Jun 8, 2024 09:58 |
|
Doctor w-rw-rw- posted:Keep an eye out for Scott's talk at f8 today: https://f8.facebooklive.com/ 3:45-4:30. Not sure; I didn't work very closely with the Paper team other than Scott and a couple of others. I'm Mike Shaver. Also: just launched http://applinks.org/ to make deep linking into other apps easy and auto-updating. I may try wedging it into Awful.app.
|
# ? Apr 30, 2014 18:57 |