Hi:
I downloaded the sample code "AppleUSBCDC", build it for the x86_64, but it
failed on Intel core i7, our .kext file name is MACUSBDriver.kext, the log
as:
11-4-27
下åˆ05:14:07 com.apple.kextd[10] Can't load
/System/Library/Extensions/IOSerialFamily.kext/Contents/PlugIns/InternalModemSupport.kext
- no code for running kernel's architecture.
11-4-27
下åˆ05:14:07 com.apple.kextd[10] Failed to load
/System/Library/Extensions/IOSerialFamily.kext/Contents/PlugIns/InternalModemSupport.kext
- (libkern/kext) requested architecture/executable not found.
11-4-27
下åˆ05:14:07 com.apple.kextd[10] Load
com.apple.driver.InternalModemSupport failed; removing personalities.
11-4-27
下åˆ05:14:08 kernel DSMOS has arrived
11-4-27
下åˆ05:14:08 kernel AirPort_Brcm4331: Ethernet address
e4:ce:8f:05:9f:e4
11-4-27
下åˆ05:14:08 kernel IO80211Controller::dataLinkLayerAttachComplete():
adding AppleEFINVRAM notification
11-4-27
下åˆ05:14:08 kernel IO80211Interface::efiNVRAMPublished():
11-4-27 下åˆ05:14:08 kernel AirPort: Link Down on en1. Reason 8
(Disassociated because station leaving).
11-4-27
下åˆ05:14:13 kernel BCM5701Enet: Ethernet address
10:9a:dd:6a:31:4f
11-4-27
下åˆ05:14:13 com.apple.SecurityServer[27] Session 0x31a400
created
11-4-27 下åˆ05:14:13 com.apple.SecurityServer[27] Session
0x31a400 attributes 0x30
11-4-27
下åˆ05:14:14 loginwindow[32] Login Window Started Security
Agent
11-4-27 下åˆ05:14:14 SecurityAgent[84] User info context
values set for sim
11-4-27 下åˆ05:14:14 SecurityAgent[84] Login
Window login proceeding
11-4-27
下åˆ05:14:14 SecurityAgent[84] Login Window done
11-4-27
下åˆ05:14:14 loginwindow[32] Login Window - Returned from Security
Agent
11-4-27 下åˆ05:14:14 loginwindow[32] USER_PROCESS: 32
console
11-4-27
下åˆ05:14:14 com.apple.launchd.peruser.501[85] (com.apple.ReportCrash)
Falling back to default Mach exception handler. Could not find:
com.apple.ReportCrash.Self
11-4-27
下åˆ05:14:16 com.apple.launchd.peruser.501[85] (com.apple.Kerberos.renew.plist[108])
Exited with exit code: 1
11-4-27
下åˆ05:14:16 com.apple.usbmuxd[24] HandleUSBMuxDictionary client
0x607c80-iTunesHelper/com.apple.iTunesHelper using library usbmuxd-211 built on
Jan 13 2011 at 04:19:31, running usbmuxd-211 built on Jan 13 2011 at
04:20:20
11-4-27
下åˆ05:14:31 root[123] /usr/libexec/ntpd-wrapper: scutil key
State:/Network/Global/DNS not present after 30 seconds
11-4-27
下åˆ05:14:31 root[126] sntp options: a=2 v=1 e=0.100 E=5.000
P=2147483647.000
11-4-27
下åˆ05:14:31 root[126] d=15 c=5 x=0 op=1
l=/var/run/sntp.pid f= time.asia.apple.com
11-4-27
下åˆ05:14:31 root[126] sntp: getaddrinfo(hostname, ntp) failed
with nodename nor servname provided, or not known
11-4-27
下åˆ05:14:49 kernel USBMSC Identifier (non-unique): Mass Storage
0x5c6 0x2001 0x0
11-4-27 下åˆ05:14:54 KernelEventAgent[33] tid
00000000 received event(s) VQ_LOWDISK, VQ_VERYLOWDISK (516)
11-4-27
下åˆ05:14:55 kernel SAM Multimedia: READ or WRITE failed, SENSE_KEY
= 0x05, ASC = 0x20, ASCQ = 0x00
11-4-27 下åˆ05:14:55 kernel SAM
Multimedia: READ or WRITE failed, SENSE_KEY = 0x05, ASC = 0x20, ASCQ =
0x00
11-4-27 下åˆ05:14:55 kernel SAM Multimedia: READ or WRITE
failed, SENSE_KEY = 0x05, ASC = 0x20, ASCQ = 0x00
11-4-27
下åˆ05:14:55 kernel SAM Multimedia: READ or WRITE failed, SENSE_KEY
= 0x05, ASC = 0x20, ASCQ = 0x00
11-4-27 下åˆ05:14:55 kernel SAM
Multimedia: READ or WRITE failed, SENSE_KEY = 0x05, ASC = 0x20, ASCQ =
0x00
11-4-27 下åˆ05:15:02 com.apple.kextd[10] Can't load
/System/Library/Extensions/MACUSBDriver.kext - validation problems.
11-4-27
下åˆ05:15:02 com.apple.kextd[10] Failed to load
/System/Library/Extensions/MACUSBDriver.kext - (libkern/kext) validation failure
(plist/executable).
11-4-27 下åˆ05:15:02 com.apple.kextd[10] Load
com.mac.sim.driver.MACUSBDriver failed; removing personalities.
11-4-27
下åˆ05:15:03 kernel USBMSC Identifier (non-unique): 0x1e0e 0xcefe
0x0
What
can i do about this problem, is xcode project setting
wrong?
Thanks.