akemin-dayo / simject

simject is a command-line tool and iOS dynamic library that allows developers to easily test their tweaks on the iOS Simulator.
BSD 2-Clause "Simplified" License
486 stars 55 forks source link

Making respring Sim #37

Closed the-casle closed 6 years ago

the-casle commented 6 years ago

Appears to be an error when making the setup

==> Cleaning… ==> Cleaning… `> Making all for tool respring_simulator… ==> Compiling respring_simulator.mm (i386)… respring_simulator.mm:8:10: fatal error: 'array' file not found

include

     ^~~~~~~

1 error generated. `

ruler225 commented 6 years ago

Not sure if there's a solution to this but I am having this problem as well. If anyone has a solution, I would appreciate it

FromDerik commented 6 years ago

edit respring_simulator/Makefile and change it to this:

TARGET = macosx:clang::10.9 ARCHS = x86_64 include $(THEOS)/makefiles/common.mk

TOOL_NAME = respring_simulator respring_simulator_FILES = respring_simulator.mm respring_simulator_CFLAGS = -Wno-deprecated-declarations -std=c++11

include $(THEOS_MAKE_PATH)/tool.mk

after-all:: @echo "Copying binaries..." @mkdir -p ../bin @cp -v $(THEOS_OBJ_DIR)/respring_simulator ../bin/

Inc0n commented 6 years ago

@FromDerik's comment solves my problem

PoomSmart commented 6 years ago

The recent commits fix this issue.