Jump to content

Theos error's


Go to solution Solved by Kau,

14 posts in this topic

Recommended Posts

Posted

Currently my theos is killing my mind..
My makefile:
 

include theos/makefiles/common.mk

ARCHS = armv7 arm64
TARGET = iphone:clang:8.1
ADDITIONAL_OBJCFLAGS = -fobjc-arc

APPLICATION_NAME = TVTest
TVTest_FILES = main.m RootViewController.mm
TVTest_FRAMEWORKS = UIKit CoreGraphics

include $(THEOS_MAKE_PATH)/application.mk
Kaus-iPhone:~/tvtest root# make package install
/var/root/tvtest/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
/var/root/tvtest/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for application TVTest...
 Copying resource directories into the application wrapper...
 Compiling RootViewController.mm...
RootViewController.mm:7:1: error: the current deployment target does not support
      automated __weak references

Thanks  :wave:

Posted

In makefile, replace your target with this:

TARGET = iphone:clang:latest:latest

And the error you're getting has to do with your code in RootViewController.mm. I remember having the same issue you did but I cannot remember how I was able to fix it right now. Although commenting out the "ADDITIONAL_OBJCFLAGS = -fobjc-arc" would be a fix. :p

  • Solution
Posted

In makefile, replace your target with this:

TARGET = iphone:clang:latest:latest

And the error you're getting has to do with your code in RootViewController.mm. I remember having the same issue you did but I cannot remember how I was able to fix it right now. Although commenting out the "ADDITIONAL_OBJCFLAGS = -fobjc-arc" would be a fix. :p

Well thanks man, but I fixxed the error.

NO WAY! 

The problem was that I have on top "include theos/makefiles/common.mk" but

"ARCHS = armv7 arm64

TARGET = iphone:clang:8.1
ADDITIONAL_OBJCFLAGS = -fobjc-arc"

needs to be first...

:p no comment :)

Posted

 

Well thanks man, but I fixxed the error.

NO WAY! 

The problem was that I have on top "include theos/makefiles/common.mk" but

"ARCHS = armv7 arm64

TARGET = iphone:clang:8.1
ADDITIONAL_OBJCFLAGS = -fobjc-arc"

needs to be first...

:p no comment :)

 

lol okay, that's great! :p

Posted (edited)

Is it normal that the app dont apear after respring? :o

Is it possible to build on windows? (without theos, virtual osx or network osx)

Updated by Kau
Posted

Is it normal that the app dont apear after respring? :o

 

Is it possible to build on windows? (without theos, virtual osx or network osx)

It is possible to build theos on windows :)

Posted

It is possible to build theos on windows :)

Build theos on Windows? 

Posted

Yup. It's possible.

You mean build packages using theos on Windows? :p

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines