Posts

Post not yet marked as solved
1 Replies
3.3k Views
All of a sudden today if I try to export our app for Enterprise distribution, I get this error below. So the question is - anyone know why I'm getting this, how to fix it, and so on? It only happens on newly created archives of our app. One major change is that I've enabled bitcode for our app and our frameworks that it uses."The data couldn’t be read because it isn’t in the correct format." In the error log: [BUG] Segmentation fault ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16] And in the crash logs I do see: Process: ruby [99064] Path: /usr/bin/ruby Identifier: ruby Version: 119.50.2 Code Type: X86-64 (Native) Parent Process: Xcode [41202] Responsible: ruby [99064] User ID: 501 Date/Time: 2018-02-15 14:59:24.286 -0700 OS Version: Mac OS X 10.12.6 (16G1212) Report Version: 12 Anonymous UUID: 4245B758-4197-BCB7-7D5D-830E86DAB467 Sleep/Wake UUID: FBC6D67F-A36E-4F7F-98A3-3EE37A5F360F Time Awake Since Boot: 330000 seconds Time Since Wake: 21000 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGABRT) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000438 Exception Note: EXC_CORPSE_NOTIFY VM Regions Near 0x438: --> __TEXT 000000010f533000-000000010f535000 [ 8K] r-x/rwx SM=COW /usr/bin/ruby Application Specific Information: abort() called Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fffd9fe5d42 __pthread_kill + 10 1 libsystem_pthread.dylib 0x00007fffda0d3457 pthread_kill + 90 2 libsystem_c.dylib 0x00007fffd9f4b420 abort + 129 3 libruby.2.0.0.dylib 0x000000010f569f70 rb_bug + 185 4 libsystem_platform.dylib 0x00007fffda0c6b3a _sigtramp + 26 5 ??? 000000000000000000 0 + 0 6 libruby.2.4.1.dylib 0x000000010faad19a st_init_table_with_size + 74 (st.c:572) 7 libruby.2.4.1.dylib 0x000000010f9b3f4e rb_enc_init + 110 (encoding.c:593) 8 libruby.2.4.1.dylib 0x000000010f9b5325 rb_usascii_encoding + 21 (encoding.c:1338) 9 libruby.2.4.1.dylib 0x000000010fad70c7 rb_intern + 23 (symbol.c:606) 10 libruby.2.4.1.dylib 0x000000010f988043 rb_define_module + 19 (class.c:773) 11 sqlite3_native.bundle 0x000000010f953e72 Init_sqlite3_native + 18 (sqlite3.c:129) 12 libruby.2.0.0.dylib 0x000000010f540651 dln_load + 213 13 libruby.2.0.0.dylib 0x000000010f654695 rb_vm_call_cfunc + 474 14 libruby.2.0.0.dylib 0x000000010f571e7f rb_require_safe + 1775 15 libruby.2.0.0.dylib 0x000000010f657ad6 0x10f53f000 + 1149654 16 libruby.2.0.0.dylib 0x000000010f649ae1 0x10f53f000 + 1092321 17 libruby.2.0.0.dylib 0x000000010f6537a1 0x10f53f000 + 1132449 18 libruby.2.0.0.dylib 0x000000010f65370c rb_iseq_eval + 372 19 libruby.2.0.0.dylib 0x000000010f571660 0x10f53f000 + 206432 20 libruby.2.0.0.dylib 0x000000010f571de9 rb_require_safe + 1625 21 libruby.2.0.0.dylib 0x000000010f657ad6 0x10f53f000 + 1149654 22 libruby.2.0.0.dylib 0x000000010f6573c3 0x10f53f000 + 1147843 23 libruby.2.0.0.dylib 0x000000010f649ae1 0x10f53f000 + 1092321 24 libruby.2.0.0.dylib 0x000000010f6537a1 0x10f53f000 + 1132449 25 libruby.2.0.0.dylib 0x000000010f6542fa rb_iseq_eval_main + 138 26 libruby.2.0.0.dylib 0x000000010f56e53d 0x10f53f000 + 193853 27 libruby.2.0.0.dylib 0x000000010f56e472 ruby_run_node + 54 28 ruby 0x000000010f5344fe main + 91 29 libdyld.dylib 0x00007fffd9eb7235 start + 1
Posted
by alex_kac.
Last updated
.
Post not yet marked as solved
0 Replies
265 Views
In the latest SDK EKObject has changed to only be supported in iOS 13 and up. Before it was supported in iOS 5 and up. This means if you try to build an existing app against the iOS 14 SDK and have a minimum target before iOS 13 - you won't be able to build anymore. The online docs also have been updated. This is a sudden change. There was no notice. Its not in the release notes? Is this actually a change or a mistake? Just trying to understand here.
Posted
by alex_kac.
Last updated
.
Post not yet marked as solved
1 Replies
270 Views
I’m curious if anyone has some helpful hints when state restoration doesn’t work. I have the following situation:UIWindow subclass-UITabViewController subclassEach tab has:—UISplitViewController subclass—UINavigationController subclass -UIVC Master subclass -UIVC Detail subclassIts all in code - no storyboard. I’m creating the window, tab, split, in the willFinishLaunching so that its all ready for state restoration. I have the restoration identifiers setup. I have the detail view controller conforming to UIViewControllerRestoration and viewControllerWithRestorationIdentifierPath does get called. I’m creating the detail VC, and I’m seeing it all get decoded properly.I’ve read every article I can find on state restoration, the docs, etc… and I just can’t find anything that provides common reasons for it not working. Here is what’s driving me crazy: I got it all working once. Then I went to apply it to another tab and its View controllers, and I’ve never gotten it to work again.I’ve always hated working with state restoration, and I’m about to go old-school.
Posted
by alex_kac.
Last updated
.
Post not yet marked as solved
1 Replies
337 Views
Xcode engineers - kudos. For the first time in 2-3 years, Xcode worked nearly flawlessly with my localizations. Thank you.
Posted
by alex_kac.
Last updated
.
Post not yet marked as solved
3 Replies
2.7k Views
I'm on HS. Trying to make a bootable USB for a MacBook Air that I have for development and I need to re-image anyway. Downloaded the Mojave installer and when I run it:sudo ./createinstallmedia --downloadassets --volume /Volumes/Untitled/I get this:To use this tool, you must download the macOS installer application on a Mac with 10.12.5 or later, or El Capitan 10.11.6. For more information, please see the following: https://support.apple.com/kb/HT201372.However…I'm on High Sierra 10.13.5 (17F77)Any ideas?
Posted
by alex_kac.
Last updated
.
Post not yet marked as solved
2 Replies
2k Views
I have two copies of Xcode on my machine: Xcode 9.1 and beta 9.2. I have tried at one point to use Xcode server, but decided against it for now so I remember turning it off.One of my problems is that my project rebuilds and rebuilds over and over and so even though I have the top of the line MacBook Pro 15 maxxed out, it runs like molasses on my projects. I looked in Console and saw that (com.apple.xcsnginx[739]): Service exited with abnormal code: 1 was constantly crashing. As in every few seconds over and over and over.So I go into Xcode prefs and it says: Xcode Server is already runningYour computer is already configured to run Xcode server and this version of Xcode is not compatible.Okay… so I quit Xcode 9.1 and open Xcode 9.2 beta. It says:Xcode server not yet configured.Hm. So now I have a situation where Xcode server is crashing every few seconds, Xcode 9.1 tells me its running but can't stop it…and Xcode 9.2 says its not configured.Any tips?
Posted
by alex_kac.
Last updated
.
Post not yet marked as solved
0 Replies
389 Views
Sometimes new ITC features are announced and show up without any fan-fare. This is one we really would like to use. Is this announced feature (from WWDC 2017) implemented yet or are we still waiting? We don't want to submit our latest quick-update until we know for sure.
Posted
by alex_kac.
Last updated
.
Post not yet marked as solved
2 Replies
530 Views
In Beta 5, I can't upload my betas to TestFlight via Xcode. It always says I have no iTunes account (even though it has no problem signing anything). So I have to export the app in Xcode and use AppLoader to upload it.I do have multiple accounts in iTC for 3 companies. Is this a bug in Xcode (assumed), or do I need to do something specific in my configuration to make this work?
Posted
by alex_kac.
Last updated
.
Post not yet marked as solved
0 Replies
436 Views
I am not a graphics expert and I only know how to do basic CoreAnimation.Anyhow, I would like to take a UIImageView and distort the middle like a mesh warp. I have searched stack overflow and elsewhere and many of the links I found were 404ed. Does anyone have any good tutorials or links to look at? This isn't that important that I need to spend a week on, but its more of a flair I would like to add to an existing animation. Nice, but not crucial.
Posted
by alex_kac.
Last updated
.