Only MainView is localized on iPhone Simulator
Hello together,
I have made up an App on iPhone Simulator, it uses the navigation tamplate and has 5 Views: MainView, RootView, and 3 detail Views. I have added localisation as usual, using Localizable.strings and making localized .xibs. So the App has now two languages. I set the language on the iPhone Simulator to German (the second Language), the system is in German (e.g. carrier). But the App Is only partly, that means, only the standart words (like delete in a TableView I have no Influence on) and the "Bar Button Item - Main" in the MainView. But this is not enough. I changed a word on a button in a English .xib, I saw the change in Interface Builder, but not on the simulator. I move the buttons around. Nothing on the simulator. I tried everything, I reseted the simulator, restarted it, but it did not help, the simulator keeps the old version. So I´m really confused, and think it´s a problem of the simulator, but I have no idea what it might be. Has anyone an advice?
See the WWDC 2011 video 'Session 125 - Internationalizing Data on Mac and iPhone'.
Are you saving changes in IB?
Delete the app from the simulator, clean the build in Xcode and try again....better yet, test on a device.
Similar Messages
-
How do i get rid of black screen on iPhone simulator
im makg a game on Xcode for iOS buterytime i try to run the app the iPhone simulator goesBlack could still see the app icon but not the applcation it self it l team fixes this problome to lauch it n the near winter. We have it updated to iOS 7 SDK but that still hasnt soved the problome as well as resting the iPhone our only wa of ning the app is to upload it to an ipod 5 but i want to hare the progress by screen share using OS X server scinc my team is scatterd all around town. So please reply to any remody to this problome im sure im not the only one.
You are posting this question in an iWeb forum exactly why?
Try posting this in the iPhone forum and you might get more help. -
Working with BDB SQL API (libsqlite3.a) on iPhone Simulator
Hi,
I downloaded latest BDB and got a static library libsqlite3.a by compiling the code on Mac OS X (1.6.8 64bit).
I am now trying to use this library as a drop in replacement into a SQLite project.
I copied the SQLite database (with only one table) to a new Berkeley DB.
I want to access this new Berkeley DB with existing code using SQLite.
I followed following steps:
1. Added (copied) libsqlite3.a from build directory to my project
2. Added #import <db.h> and left #import <sqlite3.h> as it is
3. compiled the code and ran it in iPhone simulator
The code runs fine until I go to prepare a statement. Please see the snippet from the function below:
- (void)initializeDatabase {
NSMutableArray *todoArray =[[NSMutableArray alloc] init];
self.todos = todoArray;
[todoArray release];
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex:0];
NSString *path = [documentsDirectory stringByAppendingPathComponent:@"todo.db"];
if (sqlite3_open([path UTF8String], &database) == SQLITE_OK) { // This is ok, opens berkeley DB
const char *sql = "SELECT pk FROM todo";
const char *tail;
sqlite3_stmt *statement;
if (sqlite3_prepare_v2(database, sql, -1, &statement, &tail) != SQLITE_OK) { *// Fails here - table and records exist in Berkeley DB*
if (sqlite3_step(statement) == SQLITE_ROW) {
int primarykey = sqlite3_column_int(statement, 0);
Todo *td = [[Todo alloc] initWithPrimaryKey:primarykey database:database];
[todos addObject:td];
[td release];
} else {
NSAssert1(0, @"Failed to read from the table '%s'.", sqlite3_errmsg(database));
sqlite3_close(database);
sqlite3_finalize(statement);
} else {
NSAssert1(0, @"Failed to open database with message '%s'.", sqlite3_errmsg(database));
sqlite3_close(database);
The log dump:
GNU gdb 6.3.50-20050815 (Apple version gdb-1518) (Sat Feb 12 02:52:12 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin".sharedlibrary apply-load-rules all
Attaching to process 14578.
Pending breakpoint 1 - ""todoAppDelegate.m":109" resolved
Current language: auto; currently objective-c
/Users/kpotnis/Library/Application Support/iPhone Simulator/4.3.2/Applications/0322BCD5-4C71-498E-82EC-469133B7A935/Documents/todo.db: BDB0113 Thread/process 14578/2696754496 failed: BDB1507 Thread died in Berkeley DB library
Any thoughts?
Edited by: 868618 on Jul 11, 2011 4:51 AMHi,
I was looking over this and I was wondering if you've got the chance to progress with this issue or if you need assistance?
Thanks,
Bogdan Coman -
os x 10.9.1
run the iphone Simulator and play sound in safari,
but nothing to happen.
i try to unplug headphone and increase the volume of the built-in loudspeaker, it works.
by now, i plug in headphones it works also.
i don,t no why?Hello all,
Has anyone figured out why this error is occurring? The odd thing about this is that I created an application yesterday using SoundEngine.h/cpp and it ran flawlessly then today, in a new app with the same files, I am getting this error and sound will not play.
The only difference between the two apps is that one uses Interface Builder and the other doesn't. Perhaps this is the reason there is an error and I'm going to try creating an app without IB and identical sound configuraion (using CrashLanding's SoundEngine) to see if this error occurs then.
In any case, any help is appreciated. -
How to play sound/text iphone app on a Mac computer at the iPhone simulator ?
I'm wondering if there's a way to play an app that I downloaded in iTunes written for iOS 3.2 and higher which only involves text/images and sound (no fancy accelerometer etc) at the iPhone simulator which I run on my Mac computer.
http://www.gadgettrak.com/products/iphone/
Basic troubleshooting steps
17" 2.2GHz i7 Quad-Core MacBook Pro 8G RAM 750G HD + OCZ Vertex 3 SSD Boot HD
Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101 -
Aspen iphone simulator black screen
hello, I have a big problem today:
I am doing a simple piano, and I put 20 keys (on keyboard) with buttons
(only first 9 buttons) but when I add the number 10, and build n go
show me Succeeded NO ERRORS, good
ut the iphone simulator turned in Black screen, and dont show nothing... why ?
here is my .h and my .m (code)
please !
QUESTION: ... why if I add a
IBOutlet UIButton *pteclax10;
give me errors, I do not want to think Xcode only will let me use 9 buttons... please help me.
thanks again.....
here is my code in 2 pictures....
http://www.1572-8.com/fotos/fotos-server/iphone-dev/x-lio1.jpg
http://www.1572-8.com/fotos/fotos-server/iphone-dev/x-lio2.jpg
Message was edited by: imaumacHave you tried actually running it on an iPhone or iPod Touch yet? That might make a difference.
-
How do I only have photos from my iPhone stream to my iMac?
How do I only have photos from my iphone stream to my iMac? I just downloaded from my digital camera close to a 1,000 pictures from my vacation on to my iMac and they all streamed to my iPhone! I don't want all those pictures on my phone. Is there a way to only have the photo stream work in one direction?
Photos downloading to your iPhone usually come from Syncing with iTunes. Look in the iTunes sidebar, click on iPhone under devices (must be attached). Click on Photos tab across the top to review which Photos, albums, events etc are synced from iPhoto.
Regards,
Captfred -
i'm on MAC OS X 10.5.8. Still runs great but now i have no itunes as i've followed this post that covers my first issue. i've followed it correctly to the part of re install the latest version of itunes and i cant.
i've been running logic pro on this mac and i have no issues so i've not upgraded software etc.
i need a way around this problem without having to upgrade the OS if there is one.
does anyone please have a suggestion that doesn't involve spending hundreds of pounds?
i was only trying to get an iphone connected and this article says 10.6.8 or earlier?? it is definately earlier
macbook - MAC OS X v 10.5.8...... trying to connect an iphone 4s os 6
problem now..........need to re install itunes but can't probably due to my current OS.
please help. i'm pretty gutted about this. i should of researched a little further me thinks. cheers guyssaid article below....
HT1747: iTunes: How to remove and reinstall the Apple Mobile Device Service on Mac OS X 10.6.8 or Earlier
Learn about iTunes: How to remove and reinstall the Apple Mobile Device Service on Mac OS X 10.6.8 or Earlier -
After upgrading to IOS 7, I can only transfer songs to my iPhone 5 that I bought on iTunes. I cannot transfer songs I burned from CD. When I drag them to my phone in iTunes, my phone appears to be updating, but the songs don't show up there.
I'm using IOS 7.1.2 and iTunes 11.3.0.54. WIndows 7.
Thanks.This has worked for many folks according to the feedback I have gotten:
Un-sync all your music to remove it from the device, then restart (hold down the home button along with the sleep/wake button until you see the apple, then let go). Now re-sync your music. -
How can I copy my Itunes-library from Iphone to my new Mac, as I forgot to copy the files from the old PC, and now it is to late. I only have music on my Iphone4. Thank you.
gunnarfromhovikFor iTunes purchases only..
Connect the iPhone to your Mac, launch iTunes.
If you haven't done this yet, go to the iTunes menu bar click Store / Authorize This Computer
Now from the iTunes menu bar again, click File / Transfer Purchases From... -
Hi I have clash of clans only Game Center on my iPhone and on my iPad and I want to get rid of the one on my iPad, on my iPhone it always comes up with 'would you like to use you town hall level 4' help!
Please help me back my clash of clans game. I cant access my games. But im steel can visit. Please hepl me.
-
I have deleted my photos but have icloud. when i log into icloud it doesnt give me an option to view these photos at all. my photo stream is only showing photos from another iphone in the house. i am unsure if i do a restore from back up if this will work. i really dont want to lose these photos but i am very unsure of what to do to resolve. can anyone please help?
thank youIf you had Photo Stream enabled with your iCloud account settings on the iPhone, photos in the Camera Roll should have been transferred to your photo steam automatically when the iPhone was connected to an available wi-fi network.
Your photo stream is not available when logging in with your iCloud account with a browser on a computer.
Why were the photos in the Camera Roll deleted?
Photos/videos in the camera roll are included with your iPhones backup. If your iPhone's backup has not been updated since the photos were deleted from the camera roll, you can try restoring your iPhone from the backup. -
How to ONLY use headset mic with iPhone Skype?
Latest iOS, Latest Skype app. I own many wired headsets, from Apple original, to a Jabra call center headset, to Bose QC25 noise-canceling headphones with cord mic. No matter which of these I try, the iPhone's built-in microphones stay on when I make Skype calls. I'm using a headset because I chose the headset mic. Deliberately. I don't want any other mic to be on, for many reasons that should be completely obvious.
If I'm sitting still with the iPhone near me on a table, this leads to the extraordinary sound quality that lead me to Skype in the first place. If the iPhone is in my pocket while I unload the dishwasher, any noise-isolation features of my headset mic go out the window; my activities are louder than my voice.
Worse, with the Bose QC25 headphones, I don't hear my own voice looping back. With various headsets, the other party hears me much more faintly if I throw the iPhone under a pile of comforters or a pillow. As if Skype not only insists on using the iPhone mics in addition to the headset mic, but it is using auto level control to balance them.
While Steve Jobs is my hero, one of the worst days in the history of computing was when he decided that the iPod interface should be dumbed down as far as possible on the theory that users are morons who can't tolerate user interface options. I'm not finding any options to control mics on the Skype app, a direct heir to this legacy.
So, is this a "feature" or something I can fix?ok so playing around with it, i think i fixed it. in the surround mixer i turn off the source line in , and then select line in for rec?
-
Can I use Google Sync to transfer only my contacts from my IPhone 4 to my gmail account? I do not want to sync info from Gmail to the IPhone. Can the sync work only one-way? I have 0 contacts & 0 calendar events on my gmail account. I opened the Gmail account specifically to for the Google Sync and wil only be using this account as a back-up for my IPhone contacts. Please Help!!
You do realize that the SIM only contains account information for your wireless account.
Moving the SIM from phone to phone does not cause any of your iTunes content, contacts, email, etc to magically appear on the device. -
When I send a text message from my iPhone response only comes back to my iPhone . If I send from iPad, response only comes back to iPad. Whichever I used last is where response comes. Responses are not coming to both anymore!
On both devices when you go to settings>messages>send and recieve how are poeple contacting you on each device?. e.g. email or mobile number.
Maybe you are looking for
-
Can't manually add an Mp3 to my daughter's 1st gen iPhone using my iTunes
I want to bring an MP3 file into my daughter's phone, one that can't be purchased on iTunes. I want to do this by managing her iPhone manually on my machine, which of course is set to sync with my iPhone, not hers. I'm running Windows 7. I've tried i
-
Is there a way to download my contacts from my android phone to my iPad? I have a galaxy s11
Is there a way to download my contact list from my sprint galaxy s11 android phone to my iPad?
-
So I'm building a new system soon and since I've heard so much about how great Arch is I'm going to give it a proper try. I tried it once before, got X up and running, desktop etc, but just gave up. since Ubuntu insist on using pulse audio and gener
-
Purchase Order error - Money Over flow error
Hi, Our customer wants to create Purchase order for item that has Lenght, Width, Height dimentions (not defined in item master used directly in PO). Width - 2500mm Length - 2500mm Height - 550mm the quantity in PO is to be in Kilogram (KG) as the rat
-
Problem starting adminserver with WLST and Nodemanager
I have a domain with one cluster containing 4 managed servers. Now I want to start the adminserver with WLST using the Nodemanager. (I know there are other/beter ways but in this situation I need to do it with Nodemanager). The problem is that the No