小编Fel*_*ipe的帖子

应用程序名称已更新但未在GameCenter上更新

我有一个非常简单的问题,但我没有找到任何解决方案.我几周前在AppStore中更新了我的应用程序名称,就在几天前,我在GameCenter中看到它没有改变.

是我必须改变的东西还是我应该与Apple支持联系?

看看:

名称已在iTunes Connect中正确更改

该应用程序的旧名称相同

iphone gamekit ios game-center

12
推荐指数
1
解决办法
891
查看次数

GameKit/GameCenter - I386

我在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 xcode objective-c game-center

3
推荐指数
1
解决办法
4712
查看次数

UIDeviceOrientationDidChangeNotification适用于iDevice 4及以下但不适用于iDevice 5

花花公子!

需要一些紧急的见解.我的问题是,即使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并且它不起作用.尝试了一些东西但直到现在都没有运气.

干杯.

iphone ipod-touch uiinterfaceorientation ios6

3
推荐指数
1
解决办法
647
查看次数

找不到 iOS 12.3.1 模拟器

我正在尝试安装 iOS 12.3.1 模拟器,但找不到它。

在此处输入图片说明

我确实遵循了一些建议,例如为 12.3.1 和 12.3 创建文件夹并将内容从 12.2 复制到它们,但事实并非如此。

有什么建议?

xcode ios12

1
推荐指数
1
解决办法
1542
查看次数

在UIDevice Orientation更改时停止自动调整

我对iOS 6.0有一个非常讨厌的问题.每当IUDevice方向更改某些子视图时,即使不需要也会自动调整大小.在我的特殊情况下,唯一自动化的是UIButton,所以我可以做什么来阻止这种自动调整,如果可能的话,禁用所有自动调整大小?

干杯.

iphone cocoa-touch orientation uideviceorientation ios6

0
推荐指数
1
解决办法
2049
查看次数