Jump to content

Theos error: Undefined symbols


U.M.K

1 post in this topic

Recommended Posts

Posted

Hi, I have some problems building swift app with Theos on iPadOS14.3.

> Making all for application test…
==> Copying resource directories into the application wrapper…
==> Linking application test (arm64)…
Undefined symbols for architecture arm64:
  "_$s10Foundation4DateV11descriptionSSvg", referenced from:
      _$s12test18RootViewControllerC05tableC0_12cellForRowAtSo07UITableC4CellCSo0jC0C_10Foundation9IndexPathVtF in RootViewController.swift.9d$949a3.o
  "_$s10Foundation4DateVACycfC", referenced from:
      _$s12test18RootViewControllerC15addButtonTappedyyypF in RootViewController.swift.9d2949a3.o
  "_$s10Foundation4DateVMa", referenced from:
      _$s12test18RootViewControllerC7objectsSay10Foundation4DateVGvpfi in RootViewController.swift.9d2949a3.o
      _$s12test18RootViewControllerC15addButtonTappedyyypF in RootViewController.swift.9d2949a3.o
      _$s12test18RootViewControllerC05tableC0_21numberOfRowsInSectionSiSo07UITableC0C_SitF in RootViewController.swift.9d2949a3.o
      _$s12test18RootViewControllerC05tableC0_12cellForRowAtSo07UITableC4CellCSo0jC0C_10Foundation9IndexPathVtF in RootViewController.swift.9d2949a3.o
      _$s12test18RootViewControllerC05tableC0_6commit8forRowAtySo07UITableC0C_So0jC16CellEditingStyleV10Foundation9IndexPathVtF in RootViewController.swift.9d2949a3.o
      _$s12test18RootViewControllerC5styleACSo07UITableC5StyleV_tcfc in RootViewController.swift.9d2949a3.o
      _$s12test18RootViewControllerC7nibName6bundleACSSSg_So8NSBundleCSgtcfc in RootViewController.swift.9d2949a3.o
      .
      .
      .
  "_swift_unknownObjectRelease", referenced from:
      _$sSo15UIBarButtonItemC03barb6SystemC06target6actionABSo0abeC0V_ypSg10ObjectiveC8SelectorVSgtcfcTO in RootViewController.swift.9d2949a3.o
      _$s12test18RootViewControllerC15addButtonTappedyyypFTo in RootViewController.swift.9d2949a3.o
  "_swift_unknownObjectRetain", referenced from:
      _$s12test18RootViewControllerC15addButtonTappedyyypFTo in RootViewController.swift.9d2949a3.o
ld: symbol(s) not found for architecture arm64
==> Generating debug symbols for test…
==> Merging application test…
fatal error: lipo: can't open input file: /var/mobile/Develope/test/.theos/obj/debug/arm64/test.app/test (No such file or directory)
make[2]: *** [/var/theos/makefiles/instance/application.mk:49: /var/mobile/Develope/test/.theos/obj/debug/test.app/test.af633153.unsigned] Error 1
make[1]: *** [/var/theos/makefiles/instance/application.mk:41: internal-application-all_] Error 2
make: *** [/var/theos/makefiles/master/rules.mk:117: test.all.application.variables] Error 2

I’m using the base swift application from nic.pl. And I used the command “make package” for build.

And this is my makefile.

ARCHS = arm64
TARGET = iphone:clang:latest:7.0
INSTALL_TARGET_PROCESSES = test

include $(THEOS)/makefiles/common.mk

APPLICATION_NAME = test

test_FILES = AppDelegate.swift RootViewController.swift
test_FRAMEWORKS = UIKit CoreGraphics

include $(THEOS_MAKE_PATH)/application.mk

How can I fix this?

Archived

This topic is now archived and is closed to further replies.

×
  • 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