Post

Replies

Boosts

Views

Activity

[Crash only in release not in debug build]outlined init with copy
Crashed: com.apple.main-thread EXCBADACCESS KERNINVALIDADDRESS 0x002000000000000 Crashed: com.apple.main-thread 0 libobjc.A.dylib 0x18f1a3be8 objcretain + 8 1 libswiftCore.dylib 0x1bdbaf2dc swiftbridgeObjectRetain + 44 2 AppName 0x1004858b8 initializeWithCopy for ViewProperties.Items + 4307556536 (<compiler-generated>:4307556536) 3 AppName 0x1006ce26c outlined init with copy of ViewProperties.Items + 4309951084 4 AppName 0x1006ccf28 specialized ViewController.collectionView(_:numberOfItemsInSection:) Could anyone please help what this crash means? Here ViewProperties is a structure and Items is an enumeration
1
0
3.9k
Sep ’20
Is it fine to call System API function from iOS app? Whether apple review rejects App?
I wanted to know whether we can call fork() and system() function within an iOS application? Whether apple review rejects the application. In order to identify whether the device is jailbroken. I wanted to include the following code in application let pid = fork() if(!pid) { return true } else if(pid = 0) { return false } OR let system= system() if(system == 1) { return true } else if(system == 0) { return false }
1
0
915
Mar ’21
outlined assign with take of
Crashed: com.apple.NSURLSession-delegate EXC_BAD_ACCESS 0x00000000deadbef7 0  libobjc.A.dylib                0x1a9dd6c10 objc_release + 17 1  Sdk                                0x1051b98a8 assignWithTake for Profile + 4356511913 (:4356511913) 2  libswiftCore.dylib           0x199ca8508 assignWithTake for ClosedRange<>.Index + 253 3  Sdk                  0x1051b6f28 outlined assign with take of Profile? + 4356501288 (:4356501288) 4  Sdk                  0x1051b5924 Profile.init(from:) + 192 (Profile.swift:193) 5  Sdk                  0x1051b632c protocol witness for Decodable.init(from:) in conformance Profile + 4356498220 (:4356498220) 6  libswiftCore.dylib            0x199ca52e4 dispatch thunk of Decodable.init(from:) + 16 Does anyone know what "outlined assign with take of " means here? Here Profile is a structure.
4
1
2.8k
Jul ’21