Following the PyQGIS Developer Cookbook to use PyQGIS in standalone scripts. Fixed the initial errors by setting the PYTHONPATH and DYLD_PYTHON_PATH to the appropriate folders but am now faced with the error:
ImportError: dlopen(/Applications/QGIS3.4.app/Contents/MacOS/../Resources/python/PyQt5/QtCore.so, 2): Library not loaded: @executable_path/../Frameworks/QtCore.framework/QtCore
Referenced from: /Applications/QGIS3.4.app/Contents/Resources/python/PyQt5/QtCore.so
Reason: image not found
It loads fine in the QGIS interpreter, and I ran sys.path in QGIS, then ran sys.path.append in my external interpreter for every path that QGIS is connected with from the sys.path results, but no luck. I've found the QtCore.so image but directing the path to that file also doesn't work.
Does anybody know how to get around this issue?