Questions tagged [xcode]

Xcode is an IDE from Apple which integrates design, coding, testing, and debugging capabilities for Mac OS and iOS software development.

Filter by
Sorted by
Tagged with
1 vote
0 answers
98 views

Stuck trying to build UE for iOS on Mac

I am trying to build an AR game for iOS, using a custom build of Unreal Engine 5.1.1, on an Apple Silicon (M1 Max) Macbook Pro. (I have to use a custom branch of UE5 because there is a problem with ...
Dan's user avatar
  • 111
0 votes
0 answers
45 views

pygame.error: video system not initialized

I don't know what's going on when I try to run pygame this error occures everytime no matter how much changes I have made. HERE'S THE CODE: ...
opidas's user avatar
  • 1
0 votes
0 answers
32 views

Xcode gives plenty of Undefined Symbol: Firebase_App error

I Build my Unity project to Xcode, trying to install it on ios device. It gives errors like as follow ...
Muhammet Demir's user avatar
0 votes
1 answer
324 views

Generate Xcode project for macOS via the Unity command line

I am trying to export an Xcode project targeting macOS via the Unity3D command line in Continuous Integration. However, I cannot figure out the right build setting to export an XCode project for macOS ...
Vinay S Shenoy's user avatar
0 votes
0 answers
26 views

Does Unity iOS build process have a signature?

I'm interested in the detailed process that happens when Unity Editor builds iOS at this step: - Xcode project is generated by Unity with all the required libraries, precompiled .NET code, and ...
Nikita Goncharuk's user avatar
1 vote
1 answer
629 views

How to debug UnityGfxDeviceWorker (34): EXC_RESOURCE RESOURCE_TYPE_MEMORY error on an iOS device?

How does one debug this Xcode error on an iOS device? Debug - UnityGfxDeviceWorker (34): EXC_RESOURCE RESOURCE_TYPE_MEMORY
ina's user avatar
  • 284
1 vote
1 answer
241 views

Networking to make a single player RPG into multiplayer

I’ve written a few games in Xcode before and would like to turn one into the simplest possible 2D top-down RPG multiplayer game. Essentially just needing movements around a big tiled map (I love ...
Donny7's user avatar
  • 11
0 votes
1 answer
490 views

Unity 2020.1.8f1 cannot build xcode project for iOS

We recently updated a project to Unity 2020.1.8f1 But it will not build the xcode project for iOS because of missing plist key value pairs. This is really weird cus, before, I would build the xcode ...
Guye Incognito's user avatar
0 votes
0 answers
158 views

Why is an empty Unity Iphone Build over 700 Megs? Is this Normal?

So after 2 weeks of slaving over my first game I was finally done! I was entirely ecstatic....until I saw its file size. 770 Megabytes For a simple numbers game, that was way too much and I created an ...
kayra yorulmaz's user avatar
1 vote
0 answers
766 views

Unreal editor warns that Xcode is not installed on MacOS 10.14

I'm running MacOS 10.14.6. When I launch Unreal v4.25.0, I get the following warning: Xcode was not detected on this Mac. Metal shader compilation will fall back to runtime compiled text shaders, ...
tomh's user avatar
  • 111
1 vote
1 answer
416 views

Is an iOS development license with Unity free?

I'm coding in Unity Personal and I'm going to try to put my game onto the App Store (through the Unity --> XCode --> App Store process). In the past, Unity has charged money to get a iOS license for ...
Cats4Life's user avatar
0 votes
0 answers
19 views

Cross platforms decoding

To advance those coding language and enhance the combination of gameplay device. Here are a file extension with ".d" Any compilers would I find for checking if it's able to run?
Day Chung's user avatar
1 vote
1 answer
2k views

How to solve the Google Ads problem in iOS?

Step 1: I'm implementing a Google AdMob using this link. Step 2: When I import this plugin in unity->build(ios)-> and implement in xcode then give this error: ...
Rahul Patil's user avatar
2 votes
1 answer
43 views

tvOS game launch image shows on simulator but not on device

I’ve set up a launch image in XCode and it does show up in the simulator, but on the Apple TV it just displays a blurry gray background. The image is the correct size and doesn’t have any transparency....
margusholland's user avatar
0 votes
0 answers
37 views

When I build from unity to Xcode a calculation doesn't happen properly

I am building an app which calculates the elevation and azimuth of 2 points using latitude, longitude and elevation. I have built it and run it on Xcode and the azimuth is locked on either 270º or 90º....
J Browne's user avatar
0 votes
1 answer
606 views

How to change pre-splash image for iOS?

When I launched my game on my iPad, the screen first displayed a faulty splash image with a black lower half momentarily, before displaying the normal splash image. No matter what I tried, I couldn't ...
Chong Lip Phang's user avatar
1 vote
0 answers
709 views

arm64 architecture issue in Unity iOS plugin

I am trying to use the iOS version of ORB_SLAM2 (https://github.com/ygx2011/ORB_SLAM2-IOS) as a plugin to a Unity (Unity 5.5) project. To be able to use this as a plugin, I created a static library (....
Vivek Arvind's user avatar
1 vote
1 answer
924 views

SpriteKit SKTileMapNode with Tileset Integration

SpriteKit supports tile maps as of iOS 10 and has a pretty powerful engine. Only, I am having trouble discovering if it is possible, and how to natively create, tile sets directly from a tileset image....
Alec O'Connor's user avatar
1 vote
1 answer
1k views

Unity application freezes on ios at pause

When I play my game made with Unity on iOS device, and press the home button or let the screen close by time or by pressing the power button and then try to come back to the game, the game freezes ...
Lasse's user avatar
  • 3,241
1 vote
1 answer
135 views

Does my conditional statement contain a syntax error? C++ [closed]

I am not entirely new to coding, but I am new to C++. I receive the error below often, but find that it comes due to some sort of syntax error (using a minus sign instead of an equal sign, or ...
Robby's user avatar
  • 33
1 vote
1 answer
79 views

Objective C Path

I am looking for some help on what would be the best approach to create a path from one point in a grid to the other side. Imagine a grid of 5 x 5, where at (0,1) there is a light source pointing ...
Steve's user avatar
  • 11
-3 votes
1 answer
107 views

Why am I getting this linker failure building my Unity project in Xcode?

This image is of my code when I am trying to compile my game in xcode. I have been working on it for weeks and this is stopping me I have been trying to figure it out for days. Any help would be ...
Mike noah's user avatar
1 vote
1 answer
214 views

Received email that iOS development Certificate was revoked, what is it mean?

I'm trying to make a .ipa in Xcode from the build of my project file exported in unity3d. There was two errors in Xcode which are 1."Signing for "Unity-iPhone" requires a development team. Select a ...
aloxvi's user avatar
  • 25
0 votes
1 answer
233 views

Errors in Xcode using SDL

I am using Lazy Foo's Production tutorials for making an SDL game in C in Xcode 6.1 - http://lazyfoo.net/tutorials/SDL/index.php#Hello%20SDL. I'm using Xcode 7 but I don't think they are very ...
AkThao's user avatar
  • 105
1 vote
1 answer
1k views

How do I make a sprite fire a bullet in a direction using SFML and C++?

I'm learning game programming for the first time using sfml and c++. I have sucessfully animated my sprite in all four directions watching some video tutorials. But now i want my sprite to fire in a ...
gitam gadtaula's user avatar
1 vote
1 answer
610 views

iOS: controlling size of assets designed in Cinema 4D when importing into Xcode?

A designer provided the attached two DAE files created in Cinema 4D. The characters in these DAE files are to be integrated into an iOS game. Both assets are of ...
Crashalot's user avatar
  • 141
0 votes
1 answer
602 views

Xcode Build Errors Unity 4.7.2

These two errors are doing my head in. New to Xcode. So please advise thank you. FYI I did not touch or modify anything of the Xcode that was generated by Unity. Upon opening there is a warning that ...
galaxyacetype0's user avatar
4 votes
0 answers
892 views

Porting libgdx game to iOS using Multi-OS engine - how to add Admob ads

I want to port my libgdx game to iOS using Multi-OS (RoboVM is no longer available). I've searched whole internet but can't find any info about how to use Admob with Multi-OS engine on iOS. Every ...
bpawel10's user avatar
0 votes
1 answer
339 views

Having trouble with EOF in Xcode [closed]

I'm getting an error that says "control may reach end of function" and I have gone through my code several times now and am not spotting the error. It may be something simple too. ...
brolol's user avatar
  • 1
0 votes
1 answer
5k views

How can I clear the screen in Xcode?

so I am following a tutorial to make a snake game in my Xcode console. But the tutorial i am following is using windows and therefore the "system("clear")" command isn't working with my mac, and all ...
gonzato's user avatar
0 votes
1 answer
190 views

Why are the images distorted in iOS build?

I'm working on a match three game. But, when I generate iOS build, the images are distorted and completely unrecognizable. However, the issue happens only on some systems. I tried it on an iMac ...
SanSolo's user avatar
  • 1,159
1 vote
1 answer
1k views

Why does compiling Unreal Engine fail in Xcode on OS X?

I'm following Ben Tristem's latest course on using Unreal Engine and coding in C++. I have issues getting into Unreal however: when I create a project, it does its stuff, i.e. generates code, compiles ...
mr-matt's user avatar
  • 2,759
-2 votes
1 answer
451 views

Is it possible to use Box2D or Chipmunk in Swift & Cocos2d?

I am new to iOs programming. I wonder whether it is possible to use Box2D physic engine in Cocos2D with Swift. I am asking because I started to learn Swift. And I create Xcode project from ...
user3708221's user avatar
4 votes
2 answers
2k views

Unity XCode build linker error

We are trying to build a Unity game in Xcode but keep getting this error: ld: '/Users/Pero/Documents/GitHub/MyGame/XCodeProject/Pods/GooglePlayGames/gpg-cpp-sdk/ios/gpg.framework/gpg(libgpg.a-...
Mentoliptus's user avatar
2 votes
1 answer
1k views

Collisions between sprites in SpriteKit

I'm making a game in XCode using SpriteKit. The game has a player and different types of projectiles that he has to avoid. When the player collides with the projectiles, the score changes and the ...
Gabe12's user avatar
  • 121
0 votes
0 answers
607 views

Moving pac-man in maze game using objective c

I am trying to develop maze game using objective-c, I want to allow moving the pac-man using swipe method, the user can swipe his fingers on the iPhone to indicate where he want PAC-MAN to go but I'm ...
Fad's user avatar
  • 1
0 votes
1 answer
1k views

Is it possible to detect contact with every frame change when using an animation in SpriteKit?

Is it possible to detect contact with every frame change when using an animation in SpriteKit? For example, if I have two nodes of a person walking, I want to detect contact with the ground each time ...
Bennybear's user avatar
  • 125
0 votes
1 answer
103 views

Unity 4.6.6 iOS Build Issue

I am using unity 4.6.6 to create a Xcode build. When I create a build I am getting following error Cannot initialize return object of type 'Singleton_1_t6738 *' with an rvalue of type '...
Zohaib Javed's user avatar
0 votes
1 answer
307 views

How to assign a button in the main storyboard to launch the GameViewController.swift file

I am quite new to swift and I have constructed a main menu in the main.storyboard file, how do I assign the 'Play Now' button to launch the GameViewController.swift file where I actually plan to ...
Viren Sareen's user avatar
0 votes
0 answers
624 views

Unity3d iOS build restarts when regaining focus from browser

I have an app made in Unity3d for android and iOS. In it, the user has the ability to link their accounts with Facebook and Twitter. For Facebook I use their Unity plugin, for Twitter, I open an ...
Jeremiah Leslie's user avatar
0 votes
1 answer
2k views

Xcode project runs on device, but not simulator

I built a 2D game using Unity3d 5.1.1. When i build and run the project with iPhone connected, the game runs fine on the device. But when i select simulator instead of device, i get an error : " does ...
SanSolo's user avatar
  • 1,159
0 votes
1 answer
89 views

Easy SpriteKit question on creating a function

The following code is what I'm working on to animate characters in a SK scene class. I can run the code without building, no problem, but I can't build it and run it; I get one error message: Binary ...
Bennybear's user avatar
  • 125
2 votes
2 answers
1k views

Proper Text-RPG Monster Generator [closed]

I'm making a text-based RPG in C++ just for fun, and in a way that I can keep adding to it and hopefully give it graphics one day, and I've got a lot of code for everything. My only problem is that I ...
RoryHector's user avatar
-1 votes
2 answers
362 views

how to build release version mac cocos2dx?

do you know how to build mac build release version? in this case i use cocos2dx framework. in vs2013 we easyly choose the build version but in xcode i dont know. the indication release build is all ...
rz_05's user avatar
  • 15
4 votes
1 answer
4k views

Spritekit water flowing [closed]

I'm wondering if there is a way in spritekit to implement water flowing through a path? like this water flow Right now I'm generating the path using UIBezierPath and PaintCode Any suggestion? ...
Mariam's user avatar
  • 163
0 votes
1 answer
1k views

Unity3d iOS build - where are the textures?

First time building and running my Unity3D app on my iPhone and it appears that all the textures are missing. Everything is just a solid block of whatever color I made it. When running in Unity I ...
badweasel's user avatar
  • 1,981
0 votes
1 answer
167 views

How can I make background elements wrap around the screen?

I'm looking to make my clouds wrap around the screen in my game (like the picture). Right now it just continues off the screen. The current movement code is: ...
Adam Kubala's user avatar
0 votes
2 answers
2k views

Execute native ios code in unity [closed]

I want to execute native iOS code in unity. For this I have added two files in /plugins/ios. ViewController.h ViewController.m Code for each file represented as under. ViewController.h ...
Siddharth's user avatar
  • 1,986
1 vote
1 answer
458 views

Game Center Leaderboard not dismissing

I was implementing Game Center into my app and all was going well except for the leaderboard done button not dismissing the leaderboard even with gameCenterControllerDidFinish added in. I call up the ...
FireStorm's user avatar
4 votes
1 answer
1k views

Swinging a sword in Xcode with Sprite Kit

I'm working on making an RPG in Xcode, and I'm having a major gameplay issue when it comes to having my character swing his sword in a way that is realistic and gameplay compatible. Right now, when ...
jking14's user avatar
  • 97