Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I found numerous instructions to set SBFakeCarrier in com.apple.springboard plist but this doesn't seem to work with iOS Simulator 5.0.

Is there any way to change the carrier name in the simulator?

share|improve this question
    
Might get some responses from stackoverflow? –  revolver Apr 11 '12 at 3:42
    
Not off-topic, as it relates specifically to an app running on the OS X platform and is not necessarily a development related question. –  daviesgeek Apr 26 '12 at 0:11

3 Answers 3

up vote 6 down vote accepted

For my part, I was able to change the carrier name for the iPhone 5.1 simulator by editing this file:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/CoreServices/SpringBoard.app/French.lproj/SpringBoard.strings

As the path suggests, I'm French. Switch to whichever localization you choose.

Inside this strings file (editable with XCode if it's a binary plist), you'll find a SIMULATOR_CARRIER_STRING key. Change its value, fire up your simulator, and there you go.

share|improve this answer
    
How do I get XCode to open this file with a correct encoding? –  Dan Apr 26 '12 at 10:30
1  
Dunno, I systematically convert binary plists to XML before editing them — use plutil -convert xml1 <binary_plist_filename> –  Cyrille Apr 26 '12 at 11:42

I wrote a fake carrier hack for recent versions of the iOS Simulator which do not support the SBFakeCarrier hack anymore. Just compile the XCDFakeCarrier.m file in your project and change the FakeCarrier constant to what you want.

share|improve this answer
    
Works great in 6.1 –  odin Apr 23 '13 at 8:54

I wrote a little tutorial that helps you change the carrier name even on iOS 6.0 and up: https://github.com/toursprung/iOS-Screenshot-Automator/blob/master/changeCarrierName

share|improve this answer
    
Just wanted to let you guys know, the new path for iOS 7 is: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/De‌​veloper/SDKs/iPhoneSimulator7.0.sdk/System/Library/CoreServices/SpringBoard.app/e‌​n.lproj –  krausefx Dec 7 '13 at 22:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.