OpenAdBlock icon indicating copy to clipboard operation
OpenAdBlock copied to clipboard

App can't launch

Open arjanvlek opened this issue 9 years ago • 9 comments

Wanted to install this as all App Store ad blockers require iPhone 5s+ / iPad air+ while this one says "Also works on iPhone 5 / 5c", which also means iPad 4 (A6 CPU).

Issue: App crashes on launch.

Device: iPad 4 32GB (iOS 9.2)

Crash Logs: OpenAdBlock 03-01-16 17-40.txt OpenAdBlock 03-01-16 17-40 2.txt

xcode screenshot: schermafbeelding 2016-01-03 om 17 42 18

arjanvlek avatar Jan 03 '16 16:01 arjanvlek

Apple changed it. Now it only works on 64 bit devices. Sorry for the problem.

jusleg avatar Jan 03 '16 18:01 jusleg

So it crashed because of 64-bit CPU instructions being run on a 32-bit CPU? And there's nothing I can do to get it running? If so, then feel free to close the issue. If a workaround exists, I'm ready to be informed about it.

arjanvlek avatar Jan 04 '16 21:01 arjanvlek

I'm afraid there is nothing to do... It worked before but they changed something and now nothing work on 32 bit devices.

On Mon, Jan 4, 2016 at 4:51 PM, Arjan Vlek [email protected] wrote:

So it crashed because of 64-bit CPU instructions being run on a 32-bit CPU? And there's nothing I can do to get it running? If so, then feel free to close the issue. If a workaround exists, I'm ready to be informed about it.

— Reply to this email directly or view it on GitHub https://github.com/saagarjha/OpenAdblock/issues/6#issuecomment-168821592 .

jusleg avatar Jan 04 '16 21:01 jusleg

Content Blockers do not work on 32-bit devices. This is an Apple-imposed restriction; Apple has removed the "Content Blockers" section from Settings. Thus, you should be able to run the app on your 32-bit device (i.e. the crash is with your Xcode/device, not Apple's restrictions), but won't be able to actually turn on the blocking.

saagarjha avatar Jan 05 '16 00:01 saagarjha

I've found a way to get the content blockers to load; I'll be posting it here once it's a bit more polished.

saagarjha avatar Oct 10 '16 20:10 saagarjha

@arjanvlek I've updated the repo; could you try it out?

saagarjha avatar Oct 12 '16 02:10 saagarjha

@saagarjha Yes, I will try it out this afternoon. ~~Btw, is your fix meant for the app crashing upon launch, or to get content blockers to load on 32-bit iOS devices?~~ Nvm, just saw it is indeed for the 32 bits devices. Will try it on my iPad 4 (iOS 10) this afternoon :)

arjanvlek avatar Oct 12 '16 09:10 arjanvlek

Hallo, the app loads, but hangs in a white screen on iPhone 5c. Maybe because i updated the coockielist, or there were errors within Pods-OpenAdBlock-frameworks.sh, i simply deleted. Don't mess your time with old 32-bit iOS cookie blocker. Please can someone tell me why my 5 years old working iPhone should be thrown away? It is working fine. crazy information-technology lifestyle product WRONG__________________________________> In Pods-OpenAdBlock-frameworks.sh, i deleted, because of error: unsupported option

set -o pipefail

function on_error {
echo "$(realpath -mq "${0}"):$1: error: Unexpected failure"
}
trap 'on_error $LINENO' ERR

and in same file, i deleted because of an other error: unexpected syntax {

RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")

<__________________________________________________________________________________________________________WRONG Here is my self-generated blockerList.json (I wanted eu-cookie-question-popup blocking only).: blockerList.json.zip

Maybe someone could help? Why did they deleted all the 32-bit app versions from app-store? I bet, 90 % of the worldwide machine-users don't really need new hardware since 10 years.

No!, they need!

Thank you, good bye Peter

hontz1 avatar Feb 16 '21 00:02 hontz1

UPDATE: the app loads now but still produces error. in Pods-OpenAdBlock-frameworks.sh i changed sh to bash. After app is loading i get: error: Error Domain=SFErrorDomain Code=1 "(null)" and i don't see safari-setting maybe it is an Xcode 8+10 issue. Xcode 12 can't handle this swift version.

Could someone please help? Thank you. stay healthy. 108325214-24851a00-71c9-11eb-84ae-7e5a4ef93c21 108325603-834a9380-71c9-11eb-83c1-c24e5259690f 108325222-27800a80-71c9-11eb-829e-9bf0d067f205 try blockparty build 2016 sucessful instead

hontz1 avatar Feb 18 '21 08:02 hontz1