Re: OsX - HTTP resource load blocked
Re: OsX - HTTP resource load blocked
- Subject: Re: OsX - HTTP resource load blocked
- From: Marc Danguy <email@hidden>
- Date: Sun, 19 Jul 2015 18:04:30 +0200
Yes, I do
If I remove the NSExceptionDomains definition in my Info.plist, my application run without crash
> Le 19 juil. 2015 à 11:07, Mike Abdullah <email@hidden> a écrit :
>
> Have you tried a clean build? This kinda suggests that somehow Xcode has modified the bundle, but not then re-signed it. (I’m trusting you didn’t go an modify the build product directly yourself!)
>
>> On 19 Jul 2015, at 09:47, Marc Danguy <email@hidden> wrote:
>>
>> a strange one : Code Signature Invalid
>>
>> Process: LibeComptaLion [69071]
>> Path: /Users/USER/Library/Developer/Xcode/DerivedData/LC2015-chvxjytjmhlxrkalkksbtlcuygwg/Build/Products/Debug/LibeComptaLion.app/Contents/MacOS/LibeComptaLion
>> Identifier: LibeComptaLion
>> Version: ???
>> Code Type: X86-64 (Native)
>> Parent Process: ??? [69072]
>> Responsible: LibeComptaLion [69071]
>> User ID: 501
>>
>> Date/Time: 2015-07-19 10:44:47.982 +0200
>> OS Version: Mac OS X 10.11 (15A216g)
>> Report Version: 11
>> Anonymous UUID: 579AB966-2C80-79CF-7EE6-509A271A3865
>>
>>
>> Time Awake Since Boot: 590000 seconds
>>
>> Crashed Thread: 0
>>
>> Exception Type: EXC_CRASH (Code Signature Invalid)
>> Exception Codes: 0x0000000000000000, 0x0000000000000000
>> Exception Note: EXC_CORPSE_NOTIFY
>>
>> kernel messages:
>>
>> VM Regions Near 0 (cr2):
>> -->
>> mapped file 0000000100000000-0000000100314000 [ 3152K] r-x/rwx SM=COW 0
>>
>> Thread 0 Crashed:
>> 0 dyld 0x00007fff5fc01000 _dyld_start + 0
>>
>> Thread 0 crashed with X86 Thread State (64-bit):
>> rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000
>> rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000000000000 rsp: 0x00007fff5fbff6b8
>> r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000
>> r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000
>> rip: 0x00007fff5fc01000 rfl: 0x0000000000000200 cr2: 0x0000000000000000
>>
>> Logical CPU: 0
>> Error Code: 0x00000000
>> Trap Number: 0
>>
>>
>> Binary Images:
>> 0x7fff5fc00000 - 0x7fff5fc367af dyld (360.5) <1A7C0426-51E0-3B50-A871-61D0782B05C7> /usr/lib/dyld
>>
>> External Modification Summary:
>> Calls made by other processes targeting this process:
>> task_for_pid: 1
>> thread_create: 0
>> thread_set_state: 0
>> Calls made by this process:
>> task_for_pid: 0
>> thread_create: 0
>> thread_set_state: 0
>> Calls made by all processes on this machine:
>> task_for_pid: 14497484
>> thread_create: 0
>> thread_set_state: 1116
>>
>> VM Region Summary:
>> ReadOnly portion of Libraries: Total=304K resident=0K(0%) swapped_out_or_unallocated=304K(100%)
>> Writable regions: Total=10.2M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=10.2M(100%)
>>
>> VIRTUAL REGION
>> REGION TYPE SIZE COUNT (non-coalesced)
>> =========== ======= =======
>> Process Corpse Info 2048K 2
>> STACK GUARD 56.0M 2
>> Stack 8192K 3
>> VM_ALLOCATE 4K 2
>> __DATA 244K 3
>> __LINKEDIT 84K 2
>> __TEXT 220K 2
>> mapped file 4488K 4
>> shared memory 8K 3
>> =========== ======= =======
>> TOTAL 70.9M 14
>>
>> Model: iMac11,1, BootROM IM111.0034.B02, 4 processors, Intel Core i7, 2.8 GHz, 8 GB, SMC 1.54f36
>> Graphics: ATI Radeon HD 4850, ATI Radeon HD 4850, PCIe, 512 MB
>> Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334548312D4346382020
>> Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334548312D4346382020
>> Memory Module: BANK 0/DIMM1, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334548312D4346382020
>> Memory Module: BANK 1/DIMM1, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334548312D4346382020
>> AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x8F), Atheros 9280: 4.0.74.0-P2P
>> Bluetooth: Version 4.4.0d77 16054, 3 services, 27 devices, 1 incoming serial ports
>> Network Service: Ethernet, Ethernet, en0
>> Serial ATA Device: ST31000528AS, 1 TB
>> Serial ATA Device: HL-DT-ST DVDRW GA11N
>> USB Device: USB 2.0 Bus
>> USB Device: Hub
>> USB Device: P'9233 Desktop Drive
>> USB Device: IR Receiver
>> USB Device: Built-in iSight
>> USB Device: USB 2.0 Bus
>> USB Device: Hub
>> USB Device: Keyboard Hub
>> USB Device: Apple Keyboard
>> USB Device: Card Reader
>> USB Device: BRCM2046 Hub
>> USB Device: Bluetooth USB Host Controller
>> Thunderbolt Bus:
>>
>>> Le 19 juil. 2015 à 09:30, Roland King <email@hidden> a écrit :
>>>
>>>
>>>> On 19 Jul 2015, at 15:20, Marc Danguy <email@hidden> wrote:
>>>>
>>>> With El Capitan, ATS disallows insecure (cleartext) HTTP loads until you declare your app’s needed HTTP behavior
>>>> I need to access an inline help file so I got this message :
>>>>
>>>> App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app’s Info.plist file.
>>>>
>>>>
>>>> I add
>>>> <dict>
>>>> ….
>>>> </dict>
>>>> </dict>
>>>> to my info.plist but I got a crash
>>>>
>>>
>>>
>>> “a crash”. What crash?
>>
>>
>> _______________________________________________
>>
>> Cocoa-dev mailing list (email@hidden)
>>
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden