Toggle navigation
Toggle navigation
This project
Loading...
Sign in
iOS
/
asi-http-request
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Ben Copsey
2009-06-25 15:17:40 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4c8ff10074beed36b7c5deb090365174613dd34c
4c8ff100
1 parent
bb72651c
Fix 2.2.1 Simulator build
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletions
Classes/ASIHTTPRequest.m
iPhone Sample/Info.plist
iPhone.xcodeproj/project.pbxproj
Classes/ASIHTTPRequest.m
View file @
4c8ff10
...
...
@@ -447,7 +447,16 @@ static NSError *ASIUnableToCreateRequestError;
// Detect proxy settings and apply them
#if TARGET_OS_IPHONE
#if TARGET_IPHONE_SIMULATOR
#if __IPHONE_OS_VERSION_MIN_REQUIRED > __IPHONE_2_2
NSDictionary
*
proxySettings
=
[(
NSDictionary
*
)
CFNetworkCopySystemProxySettings
()
autorelease
];
#else
// Can't detect proxies in 2.2.1 Simulator
NSDictionary
*
proxySettings
=
[
NSMutableDictionary
dictionary
];
#endif
#else
NSDictionary
*
proxySettings
=
[(
NSDictionary
*
)
CFNetworkCopySystemProxySettings
()
autorelease
];
#endif
#else
NSDictionary
*
proxySettings
=
[(
NSDictionary
*
)
SCDynamicStoreCopyProxies
(
NULL
)
autorelease
];
#endif
...
...
iPhone Sample/Info.plist
View file @
4c8ff10
...
...
@@ -9,7 +9,7 @@
<key>
CFBundleIconFile
</key>
<string>
iphone-icon.png
</string>
<key>
CFBundleIdentifier
</key>
<string>
com.
yourcompany.${PRODUCT_NAME:identifier}
</string>
<string>
com.
allseeinginteractive.trailsnetwork.asitest
</string>
<key>
CFBundleInfoDictionaryVersion
</key>
<string>
6.0
</string>
<key>
CFBundlePackageType
</key>
...
...
iPhone.xcodeproj/project.pbxproj
View file @
4c8ff10
This diff was suppressed by a .gitattributes entry.
Please
register
or
login
to post a comment