PDA

View Full Version : Turn Off profiling in last XCode for 2.2.1




5et
Mar 5, 2009, 10:11 AM
In last Xcode for iPhone OS 2.2.1
I can't turn off profiling in file
/Developer/Platforms/iPhoneOS.platform/Info.plist
parameters
PROVISIONING_PROFILE_ALLOWED and PROVISIONING_PROFILE_REQUIRED doesn't present in this file.

Please help me

Thanks

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AdditionalInfo</key>
<dict>
<key>DTPlatformName</key>
<string>iphoneos</string>
<key>DTSDKName</key>
<string>$(SDK_NAME)</string>
<key>MinimumOSVersion</key>
<string>$(IPHONEOS_DEPLOYMENT_TARGET)</string>
</dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleIdentifier</key>
<string>com.apple.platform.iphoneos</string>
<key>CFBundleName</key>
<string>iPhone OS platform</string>
<key>CFBundleShortVersionString</key>
<string>2.2.1</string>
<key>DefaultDebuggerSettings</key>
<dict>
<key>DataFormattersLocationPath</key>
<string>/Developer/usr/lib</string>
<key>DisableGuardMallocInDebugger</key>
<string>YES</string>
<key>DisableRestartInDebugger</key>
<string>YES</string>
<key>ProvidesAttachList</key>
<string>YES</string>
<key>RequiresDeviceForLaunch</key>
<string>YES</string>
<key>RunInDebugger</key>
<string>YES</string>
</dict>
<key>DefaultProperties</key>
<dict>
<key>ARCHS</key>
<string>armv6</string>
<key>CODE_SIGN_CONTEXT_CLASS</key>
<string>XCiPhoneOSCodeSignContext</string>
<key>COMPRESS_PNG_FILES</key>
<string>YES</string>
<key>DEBUG_INFORMATION_FORMAT</key>
<string>dwarf-with-dsym</string>
<key>EMBEDDED_PROFILE_NAME</key>
<string>embedded.mobileprovision</string>
<key>INFOPLIST_OUTPUT_FORMAT</key>
<string>binary</string>
<key>NATIVE_ARCH</key>
<string>armv6</string>
<key>PLIST_FILE_OUTPUT_FORMAT</key>
<string>binary</string>
<key>SDKROOT</key>
<string>iphoneos2.2.1</string>
<key>STRINGS_FILE_OUTPUT_ENCODING</key>
<string>binary</string>
</dict>
<key>Description</key>
<string>iPhone OS Device</string>
<key>FamilyIdentifier</key>
<string>iphoneos</string>
<key>FamilyName</key>
<string>iPhone OS</string>
<key>Icon</key>
<string>iPhoneOS.icns</string>
<key>Identifier</key>
<string>com.apple.platform.iphoneos</string>
<key>Name</key>
<string>iphoneos</string>
<key>OverrideProperties</key>
<dict>
<key>CODE_SIGN_CONTEXT_CLASS</key>
<string>XCiPhoneOSCodeSignContext</string>
<key>DEBUG_INFORMATION_FORMAT</key>
<string>dwarf-with-dsym</string>
<key>EMBEDDED_PROFILE_NAME</key>
<string>embedded.mobileprovision</string>
<key>SDKROOT</key>
<string>iphoneos2.2.1</string>
</dict>
<key>Type</key>
<string>Platform</string>
<key>Version</key>
<string>2.2.1</string>
</dict>
</plist>



5et
Mar 6, 2009, 03:57 AM
<?xml version="1.0" encoding="UTF-8"?>
...
<key>OverrideProperties</key>
<dict>
...
<key>DEBUG_INFORMATION_FORMAT</key>
<string>dwarf-with-dsym</string>
<key>EMBEDDED_PROFILE_NAME</key>
<string>embedded.mobileprovision</string>
<key>PROVISIONING_PROFILE_ALLOWED</key>
<string>NO</string>
<key>PROVISIONING_PROFILE_REQUIRED</key>
<string>NO</string>
<key>SDKROOT</key>
<string>iphoneos2.2.1</string>
</dict>
...

dejo
Mar 6, 2009, 09:29 AM
You're jailbreaking your phone, right?