我有一个非常简单的问题,但我没有找到任何解决方案.我几周前在AppStore中更新了我的应用程序名称,就在几天前,我在GameCenter中看到它没有改变.
是我必须改变的东西还是我应该与Apple支持联系?
看看:


我在iOS GameCenter上遇到了一些困难,我正在关注youtube上的一些教程, 但是一旦我完成代码,我就会收到这个错误:
Ld /Users/fgringo/Library/Developer/Xcode/DerivedData/Game-Center-Test-aggpqkxrazgvnseohuityqvchrnm/Build/Products/Debug-iphonesimulator/Game-Center-Test.app/Game-Center-Test normal i386
cd /Users/fgringo/Documents/DEVELOPER/Game-Center-Test
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -L/Users/fgringo/Library/Developer/Xcode/DerivedData/Game-Center-Test-aggpqkxrazgvnseohuityqvchrnm/Build/Products/Debug-iphonesimulator -F/Users/fgringo/Library/Developer/Xcode/DerivedData/Game-Center-Test-aggpqkxrazgvnseohuityqvchrnm/Build/Products/Debug-iphonesimulator -F/Users/fgringo/Documents/DEVELOPER/Game-Center-Test -filelist /Users/fgringo/Library/Developer/Xcode/DerivedData/Game-Center-Test-aggpqkxrazgvnseohuityqvchrnm/Build/Intermediates/Game-Center-Test.build/Debug-iphonesimulator/Game-Center-Test.build/Objects-normal/i386/Game-Center-Test.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -framework UIKit -framework Foundation -framework CoreGraphics -framework GameKit -framework MediaPlayer -o /Users/fgringo/Library/Developer/Xcode/DerivedData/Game-Center-Test-aggpqkxrazgvnseohuityqvchrnm/Build/Products/Debug-iphonesimulator/Game-Center-Test.app/Game-Center-Test
ld: warning: ignoring file /Users/fgringo/Documents/DEVELOPER/Game-Center-Test/GameKit.framework/GameKit, missing required architecture i386 in file
ld: warning: ignoring file /Users/fgringo/Documents/DEVELOPER/Game-Center-Test/MediaPlayer.framework/MediaPlayer, missing required architecture i386 in file
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_GKLocalPlayer", referenced from:
objc-class-ref in GameCenterManager.o
"_OBJC_CLASS_$_GKLeaderboard", referenced from: …Run Code Online (Sandbox Code Playgroud) 花花公子!
需要一些紧急的见解.我的问题是,即使iPhone 4/4S和iPod 4上的测试正常旋转,此代码也是如此:
- (void)initNotifications
{
[[NSNotificationCenter defaultCenter] postNotificationName:@"setFreeOrientation" object:nil];
[[UIDevice currentDevice]beginGeneratingDeviceOrientationNotifications];
[[NSNotificationCenter defaultCenter]addObserver:self
selector:@selector(didRotate:)
name:UIDeviceOrientationDidChangeNotification
object:Nil];
}
-(void)didRotate:(NSNotification*)notification
{
[super rotateTopBars];
[super rotateOptionsBar];
[self rotateControlBar];
[self rotatePlayer];
[super rotateShareLayer];
}
Run Code Online (Sandbox Code Playgroud)
但我正在测试iPod 5并且它不起作用.尝试了一些东西但直到现在都没有运气.
干杯.
我对iOS 6.0有一个非常讨厌的问题.每当IUDevice方向更改某些子视图时,即使不需要也会自动调整大小.在我的特殊情况下,唯一自动化的是UIButton,所以我可以做什么来阻止这种自动调整,如果可能的话,禁用所有自动调整大小?
干杯.
iphone ×4
game-center ×2
ios6 ×2
xcode ×2
cocoa-touch ×1
gamekit ×1
ios ×1
ios12 ×1
ipod-touch ×1
objective-c ×1
orientation ×1